[please CC me to replies, I'm not subscribed]

Hi folks,

Given that Qt5 does have JSON support in C++, is there any specific reason
why a JSONListModel doesn't exist in QML? Further, given that is the case,
I have the following options-

* Make network calls and parse JSON in a C++ model
* Use https://github.com/kromain/qml-utils/

The first option would need quite some work and if I go that way, maybe
I'll just create a generic JSONListModel myself. However, the second method
does all the parsing in JavaScript itself (and works pretty well, I'm using
it for now). Given that JSON is built-in to the language, I am wondering if
its faster to do it in QML/JS than doing it in a C++ model?

Or is there another preferred way? Help me decide :)

Cheers,
-- 
Shantanu Tushar    (UTC +0530)
http://www.shantanutushar.com
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to