You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
no steps, this is a question.
What is the expected output? What do you see instead?
How can i read a parsed JSON string as an array?
Original issue reported on code.google.com by [email protected] on 19 Mar 2009 at 7:59
The text was updated successfully, but these errors were encountered:
Here is some test code I wrote:
Dim S As New cJSON
Dim o As Object
' read the JSON into an object:
Set o = S.parse("{bla:""hi"", items: [{it:1,itx:2},{i3:'x'}] }")
' get the parsed text back:
Debug.Print S.toString(o)
' get data from arrays etc:
Debug.Print "Bla: " & o.Item("bla") & " - Items: " &
o.Item("items").Item(1).Item("itx")
Original issue reported on code.google.com by
[email protected]
on 19 Mar 2009 at 7:59The text was updated successfully, but these errors were encountered: