Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

volatile bool serialized as 1 or 0 instead of true or false #2029

Closed
mathieucarbou opened this issue Jan 9, 2024 · 4 comments
Closed

volatile bool serialized as 1 or 0 instead of true or false #2029

mathieucarbou opened this issue Jan 9, 2024 · 4 comments
Assignees
Labels
bug v6 ArduinoJson 6 v7 ArduinoJson 7

Comments

@mathieucarbou
Copy link

Everything in the title ;-)

Version: bblanchon/ArduinoJson @ 6.21.4

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

@bblanchon
Copy link
Owner

Hi Mathieu,

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

Best regards,
Benoit

@bblanchon bblanchon self-assigned this Jan 10, 2024
bblanchon added a commit that referenced this issue Jan 10, 2024
@bblanchon
Copy link
Owner

The fix was published in ArduinoJson 6.21.5 and 7.0.1.

@mathieucarbou
Copy link
Author

Thanks a lot, this was fast lol ;-)

@mathieucarbou
Copy link
Author

Fix just tested. It works 👍

@bblanchon bblanchon added v7 ArduinoJson 7 v6 ArduinoJson 6 labels Feb 5, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug v6 ArduinoJson 6 v7 ArduinoJson 7
Projects
None yet
Development

No branches or pull requests

2 participants