[Qt-interest] serialize QScriptValue to json?
Liam Staskawicz
lstask at gmail.com
Wed Apr 8 22:50:59 CEST 2009
Hi - I've just been getting my feet wet with QtScript and I've
successfully been parsing JSON into QScriptValues via
QScriptEngine::evaluate(). I haven't found yet if there's a built-in
or recommended way to serialize a QScriptValue back to JSON.
Is the idea to just create a routine that iterates over all the
properties of a QScriptValue and builds up a JSON string? Any other
tips? Thanks a bunch.
Liam
More information about the Qt-interest-old
mailing list