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
@@ -4,7 +4,7 @@
|
||||
#include <string>
|
||||
|
||||
TEST_CASE("C++20 smoke test") {
|
||||
StaticJsonDocument<128> doc;
|
||||
DynamicJsonDocument doc(128);
|
||||
|
||||
deserializeJson(doc, "{\"hello\":\"world\"}");
|
||||
REQUIRE(doc["hello"] == "world");
|
||||
|
||||
Reference in new issue
Block a user