The data is on a webserver - I can sort of grab it via regex on a http retriever -
Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
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