mirror of
https://github.com/eledio-devices/thirdparty-ArduinoJson.git
synced 2025-11-01 00:38:27 +01:00
Replaced printTo() with serializeJson()
* Added `serializeJson()` and `serializeJsonPretty()` * Added `measureJson()` and `measureJsonPretty()` * Removed `printTo()` and `prettyPrintTo()` * Removed `measureLength()` and `measurePrettyLength()`
This commit is contained in:
18
CHANGELOG.md
18
CHANGELOG.md
@@ -4,12 +4,16 @@ ArduinoJson: change log
|
||||
HEAD
|
||||
----
|
||||
|
||||
* Added DynamicJsonArray and StaticJsonArray
|
||||
* Added DynamicJsonObject and StaticJsonObject
|
||||
* Added DynamicJsonVariant and StaticJsonVariant
|
||||
* Added deserializeJson()
|
||||
* Removed JsonBuffer::parseArray(), parseObject() and parse()
|
||||
* Removed JsonBuffer::createArray() and createObject()
|
||||
* Added `DynamicJsonArray` and `StaticJsonArray`
|
||||
* Added `DynamicJsonObject` and `StaticJsonObject`
|
||||
* Added `DynamicJsonVariant` and `StaticJsonVariant`
|
||||
* Added `deserializeJson()`
|
||||
* Added `serializeJson()` and `serializeJsonPretty()`
|
||||
* Added `measureJson()` and `measureJsonPretty()`
|
||||
* Removed `JsonBuffer::parseArray()`, `parseObject()` and `parse()`
|
||||
* Removed `JsonBuffer::createArray()` and `createObject()`
|
||||
* Removed `printTo()` and `prettyPrintTo()`
|
||||
* Removed `measureLength()` and `measurePrettyLength()`
|
||||
|
||||
> ### BREAKING CHANGES
|
||||
>
|
||||
@@ -51,7 +55,7 @@ HEAD
|
||||
> ```c++
|
||||
> DynamicJsonObject obj;
|
||||
> obj["key"] = "value";
|
||||
> obj.printTo(Serial);
|
||||
> serializeJson(obj, Serial);
|
||||
> ```
|
||||
|
||||
v5.13.1
|
||||
|
||||
Reference in New Issue
Block a user