Hi there,
I'm trying to parse Json data but without any luck with v1.8 on Windows 7 64-bit:
I'm unable to get any readings by:Code:{ "ESP8266": { "NTC": { "temperature": 18.03633 }, "DHT11": { "temperature": 19, "humidity": 59 }, "SHT30": { "temperature": 19.48043, "humidity": 63.17846 }, "BMP180": { "temperature": 19.7, "pressure": 997.52 }, "WU": { "temperature": 1.6, "humidity": 98, "pressure": 1006 } } }
Also got some error saying:Code:Debug.Print objJson.Item("ESP8266").Item("NTC").Item("temperature")
But, if I check the feeded JSON Object, it's clear reading.Code:Requested Item by key doesn't exist (case mismatch?)
Code:Debug.Print objJson.JSONSo, I don't know what I'm doing wrong.Code:{"ESP8266":{"NTC":{"temperature":18.03633},"DHT11":{"temperature":19,"humidity":58},"SHT30":{"temperature":19.73144,"humidity":62.63981},"BMP180":{"temperature":20.1,"pressure":997.25},"WU":{"temperature":1.6,"humidity":97,"pressure":1006}}}
Please advise!
Kind regards,
Viktor




Reply With Quote
