forked from bblanchon/ArduinoJson
Remove capacity from JsonDocument's constructor
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++
|
||||
JsonDocument doc(1024);
|
||||
JsonDocument doc;
|
||||
|
||||
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++
|
||||
JsonDocument doc(1024);
|
||||
JsonDocument doc;
|
||||
|
||||
DeserializationError error = deserializeJson(doc, "{\"hello\":\"world\"}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user