Remove StaticJsonDocument

This commit is contained in:
Benoit Blanchon
2023-03-15 14:54:55 +01:00
parent 5edd435fe9
commit 17a482a9b1
66 changed files with 477 additions and 1728 deletions

View File

@ -47,7 +47,7 @@ TEST_CASE("serialize JsonObject to std::string") {
}
TEST_CASE("serialize an std::string containing a NUL") {
StaticJsonDocument<256> doc;
DynamicJsonDocument doc(256);
doc.set(std::string("hello\0world", 11));
CHECK(doc.memoryUsage() == 12);