Actually i'm am processing some JSON data get from some API in an old VB.NET project in Framework 3.5
I'm stuck in the processing of the following response:
{
"data": {
"89359": {
"name": "A",
//...
},
"89360": {
"name": "B",
//...
}
}
}
Each item in data is dynamic but the API doesn't set the data as an array, i was trying to get the data from each item as i was yet doing for JSON arrays like this:
Dim options As JObject = JObject.Parse(json)
For Each opt As JObject In options("data")
MsgBox(opt("name"))
Next
But it's not working in this case as as i said data is not an array...
So how could process data from that JSON as 89359 and 89360 are dynamic?