mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2026-05-05 12:25:07 +02:00
Merge DynamicJsonDocument with JsonDocument
This commit is contained in:
@@ -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\"}");
|
||||
|
||||
|
||||
@@ -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\"}");
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user