Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
json array of numbers #1
Comments
paulo
commented
Feb 23, 2013
|
Same error: |
ikt
commented
Aug 10, 2014
|
So this is confirmation it can't handle arrays? |
tyler-gilbert
commented
Aug 27, 2016
|
This is how I handle arrays:
The code does a check to see if the data is a classic object. If it isn't an object, it parses it as an array and uses "item" as the key. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
alex-eri commentedJan 28, 2013
not works:
JSONListModel {
json:'{"response":[5,467,2943,4424,13033]}'
query: '$.response[*]'
}
with error: QML ListModel: append: value is not an object