On Wed, 2010-12-22 at 09:26 -0800, Juha Turunen wrote: > I've been happy with Flavio's QJson. Other option is to use QtScript > itself: http://qtwiki.org/Parsing_JSON_with_QT_using_standard_QT_library > > I haven't done any performance measurements, but QJson is more convenient.
If the target is to eventually merge your code into Qt-Mobility, be wary of adding new dependencies. I would talk to Alex before doing so. Cheers > > Juha > > On Wed, Dec 22, 2010 at 5:48 PM, Serhiy Luzan <[email protected]> wrote: > > What is the best solution to parse JSON format (to QVariant) in qt-mobility > > code? > > > > Now I'm using parser from plugins/geoservices/nokia/jsonparser.h , but I > > face parsing errors with a bit more complicated json replies. > > > > I found this: > > 1) QJson lib: http://qjson.sourceforge.net/ > > 2) http://nilier.blogspot.com/2010/08/json-parser-class-for-qt.html > > > > Is it ok, or any better solution exist? > > > > > > > > _______________________________________________ > > Qt-mobility-feedback mailing list > > [email protected] > > http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback > > > > > _______________________________________________ > Qt-mobility-feedback mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback -- Michael Leibowitz <[email protected]> _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
