The data is on a webserver - I can sort of grab it via regex on a http retriever -
H
Latest posts made by hairyballs
-
RE: Json data?
-
Json data?
Hi,
I searched around in the forums - I couldn't find anything. Is there any easy way, to get datapoints out of JSON formatted data?
I have this data ---
{"s0": {"status":"2", "enabledSensors":"964691456", "sensorName":"Testing", "nodeAddress":"beef" ,"dio9": "1" ,"dio10": "1" ,"batteryVoltage": " 0.00" ,"internalTemp": " 0.00" ,"dr1048temp": "0" ,"dr1048humid": "0" ,"dr1048light": "0"
I'm interested in S0->dio9, "1".
I've got a regex express to grab dio9, but what if I have more than 1 s0?
Anyone have any experience getting json data?
sean
-
RE: Json data?
Hi,
I searched around in the forums - I couldn't find anything. Is there any easy way, to get datapoints out of JSON formatted data?
I have this data ---
{"s0": {"status":"2", "enabledSensors":"964691456", "sensorName":"Testing", "nodeAddress":"beef" ,"dio9": "1" ,"dio10": "1" ,"batteryVoltage": " 0.00" ,"internalTemp": " 0.00" ,"dr1048temp": "0" ,"dr1048humid": "0" ,"dr1048light": "0"
I'm interested in S0->dio9, "1".
I've got a regex express to grab dio9, but what if I have more than 1 s0?
Anyone have any experience getting json data?
sean