forked from bblanchon/ArduinoJson
Remove createNestedArray() and createNestedObject()
This commit is contained in:
1 parent
cdc1262127
commit
7f459adc4b
37 files changed
+99
-547
No files matched your search
@@ -22,7 +22,7 @@ int main() {
|
||||
|
||||
// Add an array.
|
||||
//
|
||||
JsonArray data = doc.createNestedArray("data");
|
||||
JsonArray data = doc["data"].to<JsonArray>();
|
||||
data.add(48.756080);
|
||||
data.add(2.302038);
|
||||
|
||||
|
||||
Reference in new issue
Block a user