flavio / qjson

QJson is a qt-based library that maps JSON data to QVariant objects.
http://qjson.sourceforge.net
GNU Lesser General Public License v2.1
288 stars 140 forks source link

Non-stored Properties are included by QObjectHelper::qobject2qvariant #111

Open PaulKWintz opened 6 years ago

PaulKWintz commented 6 years ago

The QJson documentation says, "properties marked as 'non-stored' will be ignored" by QObjectHelper. But, for an object myObject with a property defined as Q_PROPERTY(QString myProperty READ myProperty WRITE setMyProperty NOTIFY myPropertyChanged STORED false), then myProperty is included in the JSON generated by this command QJson::QObjectHelper::qobject2qvariant(myObject)