I have a nested object with structure as follows:
{
"sensors": [{
"probe": "PROBENAME",
"sensor": "SENSORNAME",
"status": "STATUS"
}, {
"probe": "PROBENAME",
"sensor": "SENSORNAME",
"status": "STATUS"
}]
}
Is there a good way to actually iterate over this in such a way that I only get the "probes" and "sensors." There are 1000s of each, and I want to be able to grab all of them. For some reason, whenever I iterate over the structure, I just get [object][object] in the return.