ArduinoJson 6.4.0-beta
* Copy `JsonArray` and `JsonObject`, instead of storing pointers (issue #780)
* Added `JsonVariant::to<JsonArray>()` and `JsonVariant::to<JsonObject>()`

Special note

ArduinoJson 6 requires updating code written for version 5. See the migration guide for details.

Changes since 6.3.0-beta

  • Copy JsonArray and JsonObject, instead of storing pointers (issue #780)
  • Added JsonVariant::to<JsonArray>() and JsonVariant::to<JsonObject>()
  • Fixed "-0" (issue #808)

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.4.0-beta.h put it in your project folder
  3. Download ArduinoJson-v6.4.0-beta.zip and extract it in you libraries folder

Note: ArduinoJson-v6.4.0-beta.h are ArduinoJson-v6.4.0-beta.hpp are almost identical; the difference is that the .hpp keeps everything in the ArduinoJson namespace.

Try online