18 #include <QJsonDocument> 45 name =
new QString(
"");
64 QByteArray array (json.toStdString().c_str());
65 QJsonDocument doc = QJsonDocument::fromJson(array);
66 QJsonObject jsonObject = doc.object();
86 QJsonDocument doc(*obj);
87 QByteArray bytes = doc.toJson();
89 return QString(bytes);
94 QJsonObject* obj =
new QJsonObject();
95 if(
name !=
nullptr && *
name != QString(
"")){
141 bool isObjectUpdated =
false;
143 if(
name !=
nullptr && *
name != QString(
"")){ isObjectUpdated =
true;
break;}
147 return isObjectUpdated;
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
void setLowerBound(qint32 lower_bound)
virtual bool isSet() override
virtual QString asJson() override
virtual ~SWGFrequencyBand()
bool m_higher_bound_isSet
virtual void fromJsonObject(QJsonObject &json) override
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
virtual QJsonObject * asJsonObject() override
void setName(QString *name)
void setHigherBound(qint32 higher_bound)
virtual SWGFrequencyBand * fromJson(QString &jsonString) override