I have one JSON that looks like below, in this JSON I have one object and inside this object, I have a list of other objects, so how to read the object list from the main object foo also the insider list is dynamic
this is my JSON
foo: {
"foo1": {
"end": 12,
"start": 0
},
"foo2": {
"end": 7,
"start": 0
},
"foo3": {
"end": 12,
"start": 8
},
{
...
},
....
}