ArduinoJson v6.15.2 Release Notes

Release Date: 2020-05-15 // 14 days ago
  • 🚀 Changes since 6.15.1

    • 🏗 CMake: don't build tests when imported in another project
    • CMake: made project arch-independent
    • 🛠 Visual Studio: fixed error C2766 with flag /Zc:__cplusplus (issue #1250)
    • ➕ Added support for JsonDocument to copyArray() (issue #1255)
    • ➕ Added support for enums in as<T>() and is<T>() (issue #1256)
    • ➕ Added JsonVariant as an input type for deserializeXxx()
      🛰 For example, you can do: deserializeJson(doc2, doc1["payload"])
    • 👉 Break the build if using 64-bit integers with ARDUINOJSON_USE_LONG_LONG==0

    View version history

    How to install

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

    1. Use the Arduino Library Manager or equivalent
    2. Download ArduinoJson-v6.15.2.h put it in your project folder
    3. Download ArduinoJson-v6.15.2.zip and extract it in you libraries folder

    Note: ArduinoJson-v6.15.2.h and ArduinoJson-v6.15.2.hpp are almost identical; the difference is that the .hpp keeps everything in the ArduinoJson namespace.

    Try online


Previous changes from v6.15.1

  • 🚀 Changes since 6.15.0

    • 🛠 Fixed "maybe-uninitialized" warning (issue #1217)
    • 🛠 Fixed "statement is unreachable" warning on IAR (issue #1233)
    • 🛠 Fixed "pointless integer comparison" warning on IAR (issue #1233)
    • ➕ Added CMake "install" target (issue #1209)
    • Disabled alignment on AVR (issue #1231)

    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.15.1.h put it in your project folder
    3. Download ArduinoJson-v6.15.1.zip and extract it in you libraries folder

    Note: ArduinoJson-v6.15.1.h and ArduinoJson-v6.15.1.hpp are almost identical; the difference is that the .hpp keeps everything in the ArduinoJson namespace.

    Try online