MuseScore  3.4
Music composition and notation
Public Member Functions | Private Attributes | List of all members
Ms::CustomJsonWriter Class Reference

Public Member Functions

 CustomJsonWriter (const QString &filePath)
 
 ~CustomJsonWriter ()
 
void addKey (const char *arrayName)
 
void addValue (const QByteArray &data, bool lastJsonElement=false, bool isJson=false)
 
void openArray ()
 
void closeArray (bool lastJsonElement=false)
 

Private Attributes

QFile jsonFormatFile
 

Constructor & Destructor Documentation

◆ CustomJsonWriter()

Ms::CustomJsonWriter::CustomJsonWriter ( const QString &  filePath)
inline

◆ ~CustomJsonWriter()

Ms::CustomJsonWriter::~CustomJsonWriter ( )
inline

Member Function Documentation

◆ addKey()

void Ms::CustomJsonWriter::addKey ( const char *  arrayName)
inline

◆ addValue()

void Ms::CustomJsonWriter::addValue ( const QByteArray &  data,
bool  lastJsonElement = false,
bool  isJson = false 
)
inline

◆ closeArray()

void Ms::CustomJsonWriter::closeArray ( bool  lastJsonElement = false)
inline

◆ openArray()

void Ms::CustomJsonWriter::openArray ( )
inline

Member Data Documentation

◆ jsonFormatFile

QFile Ms::CustomJsonWriter::jsonFormatFile
private

The documentation for this class was generated from the following file: