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.
6.9.1
Changes since- Fixed an integer overflow in the JSON deserializer
- Added overflow handling in
JsonVariant::as<T>()
andJsonVariant::is<T>()
.-
as<T>()
returns0
if the integerT
overflows -
is<T>()
returnsfalse
if the integerT
overflows
-
- Added
BasicJsonDocument
to 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.h
put it in your project folder - Download
ArduinoJson-v6.10.0.zip
and extract it in youlibraries
folder
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.