Sometimes there are a few values in JSON which are not present as name value pairs but as only names and then their properties and below for example in the JSON below objectOne, ObjectTwo and objectThree. The problem is that there names keep on changing how can I extract them if I don’t know in advance what these names are going to be? But the data structure will be same
{
"Number of objects": 3,
"Devices": {
"objectOne": {
"name": "10",
"name1": "50"
},
"objectTwo": {
"name": "20",
"name1": "30"
},
"objectThree": {
"name": "40",
"name1": "80"
}
}
}