ArduinoJson 6.5.0-beta * Added implicit conversion from `JsonArray` and `JsonObject` to `JsonVariant` * Allow mixed configuration in compilation units (issue #809) * Fixed object keys not being duplicated * `JsonPair::key()` now returns a `JsonKey` * Increased the default capacity of `DynamicJsonDocument` * Fixed `JsonVariant::is<String>()` (closes #763) * Added `JsonArrayConst`, `JsonObjectConst`, and `JsonVariantConst` * Added copy-constructor and copy-assignment-operator for `JsonDocument` (issue #827)
Special note ⚠ ️
ArduinoJson 6 requires updating code written for version 5. See the migration guide for details.
Changes since 6.4.0-beta
- Added implicit conversion from
JsonArrayandJsonObjecttoJsonVariant - Allow mixed configuration in compilation units (issue #809)
- Fixed object keys not being duplicated
-
JsonPair::key()now returns aJsonKey - Increased the default capacity of
DynamicJsonDocument - Fixed
JsonVariant::is<String>()(closes #763) - Added
JsonArrayConst,JsonObjectConst, andJsonVariantConst - Added copy-constructor and copy-assignment-operator for
JsonDocument(issue #827)
How to install
There are several ways to install ArduinoJson, from simpler to more complex:
- Use the Arduino Library Manager
- Download
ArduinoJson-v6.5.0-beta.hput it in your project folder - Download
ArduinoJson-v6.5.0-beta.zipand extract it in youlibrariesfolder
Note: ArduinoJson-v6.5.0-beta.h are ArduinoJson-v6.5.0-beta.hpp are almost identical; the difference is that the .hpp keeps everything in the ArduinoJson namespace.