ArduinoJson 6.9.0
* Decode escaped Unicode characters like \u00DE (issue #304, PR #791)

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.8.0-beta

  • Decode escaped Unicode characters like \u00DE (issue #304, PR #791) Many thanks to Daniel Schulte (aka @trilader) who implemented this feature.
  • Added option ARDUINOJSON_DECODE_UNICODE to enable it
  • Converted JsonArray::copyFrom()/copyTo() to free functions copyArray()
  • Renamed JsonArray::copyFrom() and JsonObject::copyFrom() to set()
  • Renamed JsonArray::get() to getElement()
  • Renamed JsonArray::add() (without arg) to addElement()
  • Renamed JsonObject::get() to getMember()
  • Renamed JsonObject::getOrCreate() to getOrAddMember()
  • Fixed JsonVariant::isNull() not returning true after set((char*)0)
  • Fixed segfault after variant.set(serialized((char*)0))
  • Detect IncompleteInput in false, true, and null
  • Added JsonDocument::size()
  • Added JsonDocument::remove()
  • Added JsonVariant::clear()
  • Added JsonVariant::remove()

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

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

Try online