ArduinoJson v6.9.0 Release Notes
Release Date: 2019-02-26 // about 5 years ago-
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 functionscopyArray()
- 📇 Renamed
JsonArray::copyFrom()
andJsonObject::copyFrom()
toset()
- 📇 Renamed
JsonArray::get()
togetElement()
- 📇 Renamed
JsonArray::add()
(without arg) toaddElement()
- 📇 Renamed
JsonObject::get()
togetMember()
- 📇 Renamed
JsonObject::getOrCreate()
togetOrAddMember()
- 🛠 Fixed
JsonVariant::isNull()
not returningtrue
afterset((char*)0)
- 🛠 Fixed segfault after
variant.set(serialized((char*)0))
- Detect
IncompleteInput
infalse
,true
, andnull
- ➕ Added
JsonDocument::size()
- ➕ Added
JsonDocument::remove()
- ➕ Added
JsonVariant::clear()
- ➕ Added
JsonVariant::remove()
How to install
There are several ways to install ArduinoJson, from simpler to more complex:
- Use the Arduino Library Manager
- Download
ArduinoJson-v6.9.0.h
put it in your project folder - Download
ArduinoJson-v6.9.0.zip
and extract it in youlibraries
folder
Note:
ArduinoJson-v6.9.0.h
areArduinoJson-v6.9.0.hpp
are almost identical; the difference is that the.hpp
keeps everything in theArduinoJson
namespace.Try online
- Decode escaped Unicode characters like \u00DE (issue #304, PR #791)