Open karchevskii opened 2 weeks ago
This looks like an issue with the JSONata4Java library. I will open a ticket in this project.
Raised issue in the JSONata4Java project.
We documented this limitation. There seems to. be no other word around than renaming or removing the keys.
Initial situation
There is a people counter sensor, that sends data via MQTT on C8Y. The MQTT looks like:
pay attention to the field with the name
ìn
.The dynamic-mapper version is 4.4.0 (latest)
Error
While mapping of the JSON, the error occurs if we try to map the fild ìn`:
Fix
On the MQTT Broker (EMQX) we fixed it renaming of the field from ìn
to
people_in`. The rule engine of EMQX was utilized: