ArduinoJson 6.10.0 * Fixed an integer overflow in the JSON deserializer * Added overflow handling in `JsonVariant::as<T>()` and `JsonVariant::is<T>()`.
Looking for a human-readable version?
📰 Read the article on arduinojson.org
Special note ⚠ ️
ArduinoJson 6 requires updating code written for version 5. See the migration guide for details.
Changes since 6.9.1
- Fixed an integer overflow in the JSON deserializer
- Added overflow handling in
JsonVariant::as<T>()andJsonVariant::is<T>().-
as<T>()returns0if the integerToverflows -
is<T>()returnsfalseif the integerToverflows
-
- Added
BasicJsonDocumentto support custom allocator (issue #876) - Added
JsonDocument::containsKey()(issue #938) - Added
JsonVariant::containsKey()
How to install
There are several ways to install ArduinoJson, from simpler to more complex:
- Use the Arduino Library Manager
- Download
ArduinoJson-v6.10.0.hput it in your project folder - Download
ArduinoJson-v6.10.0.zipand extract it in youlibrariesfolder
Note: ArduinoJson-v6.10.0.h are ArduinoJson-v6.10.0.hpp are almost identical; the difference is that the .hpp keeps everything in the ArduinoJson namespace.