18 #include <QJsonDocument> 62 QByteArray array (json.toStdString().c_str());
63 QJsonDocument doc = QJsonDocument::fromJson(array);
64 QJsonObject jsonObject = doc.object();
84 QJsonDocument doc(*obj);
85 QByteArray bytes = doc.toJson();
87 return QString(bytes);
92 QJsonObject* obj =
new QJsonObject();
139 bool isObjectUpdated =
false;
145 return isObjectUpdated;
qint32 getAudioSampleRate()
virtual void fromJsonObject(QJsonObject &json) override
bool m_channel_sample_rate_isSet
virtual ~SWGSSBModReport()
qint32 getChannelSampleRate()
void setChannelSampleRate(qint32 channel_sample_rate)
virtual SWGSSBModReport * fromJson(QString &jsonString) override
float getChannelPowerDb()
qint32 channel_sample_rate
void setChannelPowerDb(float channel_power_db)
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
bool m_audio_sample_rate_isSet
void setAudioSampleRate(qint32 audio_sample_rate)
virtual QString asJson() override
virtual QJsonObject * asJsonObject() override
bool m_channel_power_db_isSet
virtual bool isSet() override