Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

outcome #1

Open
GoogleCodeExporter opened this issue May 3, 2016 · 1 comment
Open

outcome #1

GoogleCodeExporter opened this issue May 3, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

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 comment by [email protected] on 25 Mar 2009 at 6:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant