0 Replies - 1058 Views - Last Post: 21 January 2013 - 05:55 AM Rate Topic: -----

#1 ImminentFate  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 26-December 12

Using Jayrock.JSON to parse in VB.NET

Posted 21 January 2013 - 05:55 AM

Hey there,
the issue I have is that I can't seem to be able to parse a string of JSON to retrieve all the values from the array in one go.
The code looks like this:
[{"name": "john"}, {"name": "greg"}, {"name": "joe"}, {"name": "spencer"},

and so on, with about a million entries.
How would i go about parsing it out in jayrock.json? I presume (pretty certain) a for loop would be used, I have no problem with getting the actual info out, just how to get it all out with one loop that puts all the data as a string.
So, from the above code, i would like it to go to:
john greg joe spencer 


Is This A Good Question/Topic? 0
  • +

Page 1 of 1