0
Needed to extract the name of objects contained in a JSON file, for example, show that the JSON file below has the batteryCharge objects, luminousFlux, id, temperature. But do this search without specifying the name of the object to be searched, as I have other JSON files with different objects.
{
"batteryCharge": {
"metadata": {
"code": {
"type": "Text",
"value": "%"
}
},
"type": "urn:x-ogc:def:phenomenon:IDAS:1.0:batteryCharge",
"value": "74"
},
"id": "urn:smartsantander:testbed:338",
"luminousFlux": {
"metadata": {
"code": {
"type": "Text",
"value": "lm"
}
},
"type": "urn:x-ogc:def:phenomenon:IDAS:1.0:luminousFlux",
"value": "0"
},
"temperature": {
"metadata": {
"code": {
"type": "Text",
"value": "Cel"
}
},
"type": "urn:x-ogc:def:phenomenon:IDAS:1.0:temperature",
"value": "90"
}
}
get this result:
batteryCharge, luminousFlux, id, temperature
From now on, thank you very much for your help.
Thanks for the suggestion!
– Jefferson