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

@ -27,7 +27,7 @@ Here is the environment that I used:
Here is a small snippet that reproduces the issue.
```c++
DynamicJsonDocument doc(1024);
JsonDocument doc(1024);
DeserializationError error = deserializeJson(doc, "{\"hello\":\"world\"}");

View File

@ -28,7 +28,7 @@ Here is the environment that I'm using':
Here is a small snippet that demonstrate the problem.
```c++
DynamicJsonDocument doc(1024);
JsonDocument doc(1024);
DeserializationError error = deserializeJson(doc, "{\"hello\":\"world\"}");

View File

@ -481,7 +481,7 @@ jobs:
g++ -x c++ - <<END
#include "${{ steps.amalgamate.outputs.filename }}"
int main() {
DynamicJsonDocument doc(300);
JsonDocument doc(300);
deserializeJson(doc, "{}");
}
END
@ -515,7 +515,7 @@ jobs:
g++ -x c++ - <<END
#include "${{ steps.amalgamate.outputs.filename }}"
int main() {
ArduinoJson::DynamicJsonDocument doc(300);
ArduinoJson::JsonDocument doc(300);
deserializeJson(doc, "{}");
}
END