ArduinoJson 6.17.0
* Added a build failure when nullptr is defined as a macro (issue #1355)
* Added `JsonDocument::overflowed()` which tells if the memory pool was too small (issue #1358)
* Added `DeserializationError::EmptyInput` which tells if the input was empty
* Added `DeserializationError::f_str()` which returns a `const __FlashStringHelper*` (issue #846)
* Added `operator|(JsonVariantConst, JsonVariantConst)`
* Added filtering for MessagePack (issue #1298, PR #1394 by Luca Passarella)
* Moved float convertion tables to PROGMEM
* Fixed `JsonVariant::set((char*)0)` which returned false instead of true (issue #1368)
* Fixed error `No such file or directory #include <WString.h>` (issue #1381)

📰 Read the complete article on arduinojson.org

Changes since 6.16.1

  • Added a build failure when nullptr is defined as a macro (issue #1355)
  • Added JsonDocument::overflowed() which tells if the memory pool was too small (issue #1358)
  • Added DeserializationError::EmptyInput which tells if the input was empty
  • Added DeserializationError::f_str() which returns a const __FlashStringHelper* (issue #846)
  • Added operator|(JsonVariantConst, JsonVariantConst)
  • Added filtering for MessagePack (issue #1298, PR #1394 by Luca Passarella)
  • Moved float convertion tables to PROGMEM
  • Fixed JsonVariant::set((char*)0) which returned false instead of true (issue #1368)
  • Fixed error No such file or directory #include <WString.h> (issue #1381)

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

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

Try online