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)
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::EmptyInputwhich tells if the input was empty - Added
DeserializationError::f_str()which returns aconst __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)
How to install
There are several ways to install ArduinoJson, from simpler to more complex:
- Use the Arduino Library Manager or equivalent
- Download
ArduinoJson-v6.17.0.hput it in your project folder - Download
ArduinoJson-v6.17.0.zipand extract it in youlibrariesfolder
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.