ArduinoJson 6.6.0-beta * Removed `JsonArray::is<T>(i)` and `JsonArray::set(i,v)` * Removed `JsonObject::is<T>(k)` and `JsonObject::set(k,v)` * Replaced `T JsonArray::get<T>(i)` with `JsonVariant JsonArray::get(i)` * Replaced `T JsonObject::get<T>(k)` with `JsonVariant JsonObject::get(k)` * Added `JSON_STRING_SIZE()` * Replacing or removing a value now releases the memory * Added `DeserializationError::code()` to be used in switch statements (issue #846)
Looking for a human-readable version?
📰 Read the article on arduinojson.org
Special note ⚠ ️
ArduinoJson 6 requires updating code written for version 5. See the migration guide for details.
Changes since 6.5.0-beta
- Removed
JsonArray::is<T>(i)andJsonArray::set(i,v) - Removed
JsonObject::is<T>(k)andJsonObject::set(k,v) - Replaced
T JsonArray::get<T>(i)withJsonVariant JsonArray::get(i) - Replaced
T JsonObject::get<T>(k)withJsonVariant JsonObject::get(k) - Added
JSON_STRING_SIZE() - Replacing or removing a value now releases the memory
- Added
DeserializationError::code()to be used in switch statements (issue #846)
How to install
There are several ways to install ArduinoJson, from simpler to more complex:
- Use the Arduino Library Manager
- Download
ArduinoJson-v6.6.0-beta.hput it in your project folder - Download
ArduinoJson-v6.6.0-beta.zipand extract it in youlibrariesfolder
Note: ArduinoJson-v6.6.0-beta.h are ArduinoJson-v6.6.0-beta.hpp are almost identical; the difference is that the .hpp keeps everything in the ArduinoJson namespace.