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;
qint32 getChannelSampleRate()
virtual QString asJson() override
virtual QJsonObject * asJsonObject() override
bool m_channel_sample_rate_isSet
virtual bool isSet() override
void setChannelSampleRate(qint32 channel_sample_rate)
virtual SWGATVModReport * fromJson(QString &jsonString) override
virtual ~SWGATVModReport()
float getChannelPowerDb()
bool m_channel_power_db_isSet
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
qint32 channel_sample_rate
virtual void fromJsonObject(QJsonObject &json) override
void setChannelPowerDb(float channel_power_db)