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>() and JsonVariant::is<T>().
    • as<T>() returns 0 if the integer T overflows
    • is<T>() returns false if the integer T overflows
  • Added BasicJsonDocument to support custom allocator (issue #876)
  • Added JsonDocument::containsKey() (issue #938)
  • Added JsonVariant::containsKey()

View version history

How to install

There are several ways to install ArduinoJson, from simpler to more complex:

  1. Use the Arduino Library Manager
  2. Download ArduinoJson-v6.10.0.h put it in your project folder
  3. Download ArduinoJson-v6.10.0.zip and extract it in you libraries 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.

Try online