JSON parse data
Posted: Fri Jan 06, 2017 4:09 pm
Hi all,
I cant find the way to parse my multi-json object...
For the moment, i play with this little piece of code, but i cant go to the childe object, and i don't see how i must achieve that.
Any help is appreciated
Thanks,
Arbrakaan
I cant find the way to parse my multi-json object...
Code: Select all
"background": {
"active":true,
"selector":"body",
"options": {
"background": {
"active":true,
"color": {
"r": 255, "g": 255, "b": 255, "a": 100, "rgba": "rgba(255, 255, 255, 1)", "hex": "FFFFFF"
}
,
"image":[]
}
,
"padding": {
"active": false, "top": false, "right": false, "bottom": false, "left": false
}
}
}
Any help is appreciated
Code: Select all
ObjectValue = JSONValue(0)
If ExamineJSONMembers(ObjectValue)
While NextJSONMember(ObjectValue)
Debug JSONMemberKey(ObjectValue)
Wend
EndIf
Arbrakaan