mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-15 11:36:36 +02:00
Remove StaticJsonDocument
This commit is contained in:
@ -14,7 +14,7 @@ TEST_CASE("JsonObject::clear()") {
|
||||
}
|
||||
|
||||
SECTION("Removes all elements") {
|
||||
StaticJsonDocument<64> doc;
|
||||
DynamicJsonDocument doc(64);
|
||||
JsonObject obj = doc.to<JsonObject>();
|
||||
obj["hello"] = 1;
|
||||
obj["world"] = 2;
|
||||
|
Reference in New Issue
Block a user