18 #include <QJsonDocument> 86 QByteArray array (json.toStdString().c_str());
87 QJsonDocument doc = QJsonDocument::fromJson(array);
88 QJsonObject jsonObject = doc.object();
112 QJsonDocument doc(*obj);
113 QByteArray bytes = doc.toJson();
115 return QString(bytes);
120 QJsonObject* obj =
new QJsonObject();
180 QList<SWGNamedEnum*>*
193 bool isObjectUpdated =
false;
199 if(
gain_modes->size() > 0){ isObjectUpdated =
true;
break;}
201 return isObjectUpdated;
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
virtual bool isSet() override
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
void toJsonArray(QList< void *> *value, QJsonObject *output, QString innerName, QString innerType)
virtual bool isSet() override