Added JsonDocument::size()

This commit is contained in:
Benoit Blanchon
2019-02-25 11:07:01 +01:00
parent 4181de119c
commit e22e62d184
9 changed files with 102 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ HEAD
* Decode escaped Unicode characters like \u00DE (issue #304, PR #791)
Many thanks to Daniel Schulte (aka @trilader) who implemented this feature.
* Add option ARDUINOJSON_DECODE_UNICODE to enable it
* 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()`
@@ -16,6 +16,7 @@ HEAD
* 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()`
v6.8.0-beta (2019-01-30)
-----------