-
Notifications
You must be signed in to change notification settings - Fork 312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ArduinoJson 7 - DynamicJsonDocument is deprecated #347
Comments
You just have to take out the size of the structure - simple but lots of typing for the library master. |
In fact, newer ESP32 core and newer ArduinoJSON causes too many errors: Some of them are listed below: |
With the actual ArduinoJson 7.0.3 I get, when compiling, the warning:
warning: 'DynamicJsonDocument' is deprecated: use JsonDocument instead [-Wdeprecated-declarations]
when I downgrade to ArduinoJson 6.21.5 the warning is gone. So the use of DynamicJsonDocument should be replaced by JsonDocument.
At the moment I downgraded my ArduinoJson to 6.21.5 but I guess it is not the best solution, I prefer to keep my libraries up to date.
The text was updated successfully, but these errors were encountered: