forked from bblanchon/ArduinoJson
Remove capacity from JsonDocument's constructor
This commit is contained in:
1 parent
42b2840009
commit
0f319e7ca4
162 files changed
+438
-500
No files matched your search
@@ -58,7 +58,7 @@ void loop() {
|
||||
|
||||
// Allocate a temporary JsonDocument
|
||||
// Use https://arduinojson.org/v6/assistant to compute the capacity.
|
||||
JsonDocument doc(500);
|
||||
JsonDocument doc;
|
||||
|
||||
// Create the "analog" array
|
||||
JsonArray analogValues = doc.createNestedArray("analog");
|
||||
|
||||
Reference in new issue
Block a user