You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to transmit via MQTT codes to me IR Remote micro controller and parse them with ArduinoJson without any issues. After upgrading to version 6 I have problems while parsing the JSON message.
This message used to work;
{"protocol":"SAMSUNG","data": 0xE0E0E01F}
That message used to work with version 5. But, with version 6 I get InvalidInput error on deserializeJson. I have to enclose the hex value inside quotes to make it work. Something like this:
{"protocol":"SAMSUNG","data": "0xE0E0E01F"}
In JSON format, numeric values don't necessarily must be enclosed inside quotes.
The text was updated successfully, but these errors were encountered:
I used to transmit via MQTT codes to me IR Remote micro controller and parse them with ArduinoJson without any issues. After upgrading to version 6 I have problems while parsing the JSON message.
This message used to work;
{"protocol":"SAMSUNG","data": 0xE0E0E01F}
That message used to work with version 5. But, with version 6 I get InvalidInput error on deserializeJson. I have to enclose the hex value inside quotes to make it work. Something like this:
{"protocol":"SAMSUNG","data": "0xE0E0E01F"}
In JSON format, numeric values don't necessarily must be enclosed inside quotes.
The text was updated successfully, but these errors were encountered: