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 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 returningtrueafterset((char*)0) - Fixed segfault after
variant.set(serialized((char*)0)) - Detect
IncompleteInputinfalse,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.hput it in your project folder - Download
ArduinoJson-v6.9.0.zipand extract it in youlibrariesfolder
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.