ArduinoJson 6.16.0
* Added comparisons (`>`, `>=`, `==`, `!=`, `<`, and `<=`) between `JsonVariant`s
* Added string deduplication (issue #1303)
* Added `JsonString::operator!=`
* Set `ARDUINOJSON_DECODE_UNICODE` to `1` by default
* Fixed `copyArray()` not working with `String`, `ElementProxy`, and `MemberProxy`
* Fixed error `getOrAddElement is not a member of ElementProxy` (issue #1311)
* Fixed excessive stack usage when compiled with `-Og` (issues #1210 and #1314)
* Fixed `Warning[Pa093]: implicit conversion from floating point to integer` on IAR compiler (PR #1328 by @stawiski)

📰 Read the complete article on arduinojson.org

Changes since 6.15.2

  • Added comparisons (>, >=, ==, !=, <, and <=) between JsonVariants
  • Added string deduplication (issue #1303)
  • Added JsonString::operator!=
  • Set ARDUINOJSON_DECODE_UNICODE to 1 by default
  • Fixed copyArray() not working with String, ElementProxy, and MemberProxy
  • Fixed error getOrAddElement is not a member of ElementProxy (issue #1311)
  • Fixed excessive stack usage when compiled with -Og (issues #1210 and #1314)
  • Fixed Warning[Pa093]: implicit conversion from floating point to integer on IAR compiler (PR #1328 by @stawiski)

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

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

Try online