Merge DynamicJsonDocument with JsonDocument

This commit is contained in:
Benoit Blanchon committed 2023-03-20 14:49:51 +01:00
1 parent db9258bcd7
commit 540901e219
164 files changed
+550 -666

No files matched your search

+2 -2
View File
@@ -32,7 +32,7 @@ bool canConvertFromJson(JsonVariantConst src, const Date&) {
} // namespace
TEST_CASE("Custom converter with overloading") {
DynamicJsonDocument doc(4096);
JsonDocument doc(4096);
SECTION("convert JSON to Date") {
doc["date"]["day"] = 2;
@@ -107,7 +107,7 @@ struct Converter<Complex> {
} // namespace ArduinoJson
TEST_CASE("Custom converter with specialization") {
DynamicJsonDocument doc(4096);
JsonDocument doc(4096);
SECTION("convert JSON to Complex") {
doc["value"]["real"] = 2;