18 #include <QJsonDocument> 57 QByteArray array (json.toStdString().c_str());
58 QJsonDocument doc = QJsonDocument::fromJson(array);
59 QJsonObject jsonObject = doc.object();
77 QJsonDocument doc(*obj);
78 QByteArray bytes = doc.toJson();
80 return QString(bytes);
85 QJsonObject* obj =
new QJsonObject();
119 bool isObjectUpdated =
false;
124 return isObjectUpdated;
virtual void fromJsonObject(QJsonObject &json) override
float getBufferRwBalance()
virtual QJsonObject * asJsonObject() override
void setBufferRwBalance(float buffer_rw_balance)
virtual bool isSet() override
virtual ~SWGRemoteOutputReport()
void setSampleCount(qint32 sample_count)
virtual SWGRemoteOutputReport * fromJson(QString &jsonString) override
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
bool m_sample_count_isSet
bool m_buffer_rw_balance_isSet
virtual QString asJson() override