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