18 #include <QJsonDocument> 86 QByteArray array (json.toStdString().c_str());
87 QJsonDocument doc = QJsonDocument::fromJson(array);
88 QJsonObject jsonObject = doc.object();
116 QJsonDocument doc(*obj);
117 QByteArray bytes = doc.toJson();
119 return QString(bytes);
124 QJsonObject* obj =
new QJsonObject();
132 obj->insert(
"loop", QJsonValue(
loop));
223 bool isObjectUpdated =
false;
225 if(
file_name !=
nullptr && *
file_name != QString(
"")){ isObjectUpdated =
true;
break;}
233 return isObjectUpdated;
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
void setValue(void *value, QJsonValue obj, QString type, QString complexType)