I agree. You should vote at https://bugreports.qt.nokia.com//browse/QTBUG-12117. It's got 42 votes, atm :-)
Girish On Fri, Oct 7, 2011 at 8:49 PM, Johan Paul <[email protected]> wrote: > XML is a first-class citizen in QML, which I find very "90s". JSON should be > on the same level that XML currently is. Just think about the models that > can be automatically built from XML. Being able to do the same from JSON > would be awesome, and to be honest, matching today's requirements. > > > -- > Johan > > >> Why can't you just import json2.js? >> >> Girish >> >> On Fri, Oct 7, 2011 at 8:23 PM, Johan Paul<[email protected]> wrote: >>> >>> Hi, >>> >>> Nothing about QML JSON parsing? What a letdown. >>> >>> >>> -- >>> Johan >>> >>> >>>> Hi Sivan, >>>> Have you seen the links below: >>>> http://doc.qt.nokia.com/qt5-snapshot/qdeclarativejavascript.html >>>> http://doc.qt.nokia.com/qt5-snapshot/qtquick2-whatsnew.html >>>> >>>> A new thing that I learnt from irc yesterday is that "property var" >>>> has been implemented >>>> (http://lists.qt.nokia.com/pipermail/qt-qml/2011-June/002667.html). >>>> >>>> Girish >>>> >>>> On Fri, Oct 7, 2011 at 3:33 PM, Sivan Greenberg<[email protected]> >>>> wrote: >>>>> >>>>> Hi All, >>>>> >>>>> Given >>>>> http://doc.qt.nokia.com/4.7-snapshot/qdeclarativejavascript.html#qml-javascript-restrictions >>>>> , what more improvements are planned? (Besides perhaps making JSON >>>>> strings first class citizens as well as automatic arrays[0] ;)) >>>>> >>>>> As I'm moving on with my development utilizing JS within QtQuick, I >>>>> realize that eventually there's not too much I need to fallback to C++ >>>>> for, at least for the prototyping and first release. I'm thankful for >>>>> that. >>>>> >>>>> Is there a development mailing list for that to follow ? >>>>> >>>>> Thanks QML team, keep up the good work! >>>>> >>>>> -Sivan >>>>> >>>>> [0]: >>>>> https://bugreports.qt.nokia.com/browse/QTBUG-12117?focusedCommentId=165257#comment-165257 >>>>> _______________________________________________ >>>>> Qt-qml mailing list >>>>> [email protected] >>>>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml >>>>> >>>> _______________________________________________ >>>> Qt-qml mailing list >>>> [email protected] >>>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml >>> >>> _______________________________________________ >>> Qt-qml mailing list >>> [email protected] >>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml >>> > > _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
