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();
126 obj->insert(
"dcBlock", QJsonValue(
dc_block));
223 bool isObjectUpdated =
false;
233 return isObjectUpdated;
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
void setValue(void *value, QJsonValue obj, QString type, QString complexType)