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) 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)

View version history

How to install

There are several ways to install ArduinoJson, from simpler to more complex:

  1. Use the Arduino Library Manager
  2. Download ArduinoJson-v6.6.0-beta.h put it in your project folder
  3. Download ArduinoJson-v6.6.0-beta.zip and extract it in you libraries folder

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.

Try online