ArduinoJson v6.10.0 Release Notes

Release Date: 2019-03-22 // about 5 years ago
  • 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