Adds a new nested object to the end of the array.
SignatureJsonObject& createNestedObject();
Return value
A reference to the new JsonObject
. You can check JsonObject::success()
to verify that the allocation succeeded.
StaticJsonBuffer<200> jsonBuffer;
JsonArray& array = jsonBuffer.createArray();
JsonObject& nested = array.createNestedObject();
nested["hello"] = "world";
array.printTo(Serial);
will write
See alsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4