forked from bblanchon/ArduinoJson
Remove StaticJsonDocument
This commit is contained in:
1 parent
5edd435fe9
commit
17a482a9b1
66 files changed
+477
-1728
No files matched your search
@@ -247,7 +247,7 @@ TEST_CASE("ElementProxy cast to JsonVariant") {
|
||||
}
|
||||
|
||||
TEST_CASE("ElementProxy::shallowCopy()") {
|
||||
StaticJsonDocument<1024> doc1, doc2;
|
||||
DynamicJsonDocument doc1(1024), doc2(1024);
|
||||
doc2["hello"] = "world";
|
||||
doc1[0].shallowCopy(doc2);
|
||||
|
||||
|
||||
Reference in new issue
Block a user