ArduinoJson 6.5.0-beta
Pre-release
Pre-release
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
JsonArray
andJsonObject
toJsonVariant
- 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.h
put it in your project folder - Download
ArduinoJson-v6.5.0-beta.zip
and extract it in youlibraries
folder
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.