Hello everyone, I’m hoping you can help me with a JSON parsing issue I’m encountering in OpenHAB. I’m trying to extract the PM2.5 value from a JSON payload received from a Tasmota device. The payload looks like this:
{
“Time”: “2021-12-19T18:16:56”,
“VINDRIKTNING”: {
“PM2.5”: 16
}
}
I attempted to use the JSONPATH expression $.VINDRIKTNING.PM2.5
to extract the value, but it doesn’t seem to work. I suspect the issue is with the dot in “PM2.5”. Does anyone know how to properly escape or handle this character in JSONPATH? Any advice would be greatly appreciated! Thank you in advance for your help.