Removed default capacity of DynamicJsonDocument

This commit is contained in:
Benoit Blanchon
2019-01-14 10:32:19 +01:00
parent f0784d3b41
commit 9ac2ac303c
73 changed files with 163 additions and 155 deletions

View File

@ -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;