On Sep 27, 2011 (Tuesday), at 11:04 PM, Girish Ramakrishnan wrote: > > Does anyone have a strong opinion on what API we should have for a > JSON parser in Qt? I quite like the qjson approach of just providing a > QVariant. QVariant conversion has a performance overhead but it's very
all qt json libs I saw use QVariant and it works very nice. JSON is a network protocol so its critical section is the network speed not a QVariant conversions.conrtsuctors. I'd like to see json in the QtCore > easy to work with and from what I have seen the big performance impact > is in the parsing phase and not when getting data out of the QVariant. > The alternate is a stream based API like the XML one but I think this > is just too cumbersome. yes, XML-like streams are overkill in this area.
_______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
