bblanchon / ArduinoJson

📟 JSON library for Arduino and embedded C++. Simple and efficient.

Home Page:https://arduinojson.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`volatile bool` serialized as `1` or `0` instead of `true` or `false`

mathieucarbou opened this issue · comments

Everything in the title ;-)

Version: bblanchon/ArduinoJson @ 6.21.4

Note: workaround can be to use a getter method returning bool.

Hi Mathieu,

Thank you very much for reporting this bug ❤️
I love it when users find stuff like that.

Best regards,
Benoit

The fix was published in ArduinoJson 6.21.5 and 7.0.1.

Thanks a lot, this was fast lol ;-)

Fix just tested. It works 👍