forked from bblanchon/ArduinoJson
Fix typo in change log
This commit is contained in:
16
CHANGELOG.md
16
CHANGELOG.md
@ -90,22 +90,22 @@ HEAD
|
||||
>
|
||||
> ```c++
|
||||
> // ArduinoJson 6
|
||||
> doc.createNestedArray("array");
|
||||
> doc.createNestedObject("object");
|
||||
> arr.createNestedArray();
|
||||
> arr.createNestedObject();
|
||||
>
|
||||
> // ArduinoJson 7
|
||||
> doc.add<JsonArray>();
|
||||
> doc.add<JsonObject>();
|
||||
> arr.add<JsonArray>();
|
||||
> arr.add<JsonObject>();
|
||||
> ```
|
||||
>
|
||||
> And to create `{"array":[],"object":{}}`, you would write:
|
||||
>
|
||||
> ```c++
|
||||
> // ArduinoJson 6
|
||||
> doc.createNestedArray("array");
|
||||
> doc.createNestedObject("object");
|
||||
> obj.createNestedArray("array");
|
||||
> obj.createNestedObject("object");
|
||||
>
|
||||
> // ArduinoJson 7
|
||||
> doc["array"].to<JsonArray>();
|
||||
> doc["object"].to<JsonObject>();
|
||||
> obj["array"].to<JsonArray>();
|
||||
> obj["object"].to<JsonObject>();
|
||||
> ```
|
||||
|
Reference in New Issue
Block a user