Merge DynamicJsonDocument with JsonDocument

This commit is contained in:
Benoit Blanchon
2023-03-20 10:49:01 +01:00
parent db9258bcd7
commit 540901e219
164 changed files with 550 additions and 666 deletions

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;