forked from bblanchon/ArduinoJson
Removed default capacity of DynamicJsonDocument
This commit is contained in:
1 parent
f0784d3b41
commit
9ac2ac303c
73 files changed
+163
-155
No files matched your search
@@ -7,7 +7,7 @@
|
||||
#include <string>
|
||||
|
||||
TEST_CASE("JsonObject::remove()") {
|
||||
DynamicJsonDocument doc;
|
||||
DynamicJsonDocument doc(4096);
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
obj["a"] = 0;
|
||||
obj["b"] = 1;
|
||||
|
||||
Reference in new issue
Block a user