-
Notifications
You must be signed in to change notification settings - Fork 158
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
compatibility with ArduinoJson V7 #292
Comments
Question to the team: Do we want to migrate to V7 or stay on V6? Do we want to support both (yes it can be done)? |
Hm I guess supporting both would be sweet... |
Been taking a look at this. For the most part, we can support both. However, V7 removes a feature that I was using to limit the size of the message being generated as a fragment. That section of the code would have to be reworked. |
I have made a lot of changes to support V6 and V7. The worst of the changes are driven by the fact that you can no longer limit the size of the structure so I had to add an external mechanism to estimate the size. Not accurate but it looks like it gets the job done. @s00500 |
cool, I can try to get to this next week but I am again pretty busy and out for bussiness travel in the next 2,5 weeks... so not 100% sure if I can make it |
No worries. The changes are not going anywhere. |
Since ArduinoJson 7.0 there are some breaking changes
full changelog:
https://github.com/bblanchon/ArduinoJson/blob/9dc43d14f3448a4468382ea11eeb47a257420a8c/CHANGELOG.md
the latest release of ESPUI still uses
DynamicJsonDocument
which prevents you from using the V7 in your project.The text was updated successfully, but these errors were encountered: