This project has moved. For the latest updates, please go here.

Deserialization Of JSON

Feb 7, 2011 at 12:01 PM

Hi, how do i extract things from jArray?

Dim arsl As JArray = DirectCast(o("items"), JArray)
Dim orsl As JObject = DirectCast(arsl(0), JObject)
Dim prsl As JObject = DirectCast(orsl("pagemap"), JObject) 
Dim drsl As JArray = DirectCast(prsl("review"), JArray)

Currently in jArray.ToString, i get [ { "reviewer": "GameSpot", "reviewdate": "2002-07-03", "ratingstars": "4.5" } ] ,

how do i select the  Reviewer or reviewdate ?

Furthermore, if i do a jArray.count, it will return me 1.