-
Notifications
You must be signed in to change notification settings - Fork 77
New ArduinoJSON beta doesn't compile with ESP8266 #14
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
Comments
According to the ArduinoJson website version 6 will be in beta for the rest of 2018 so I think the correct option is to require the use of version 5. |
Please see if this can be tweaked in make files I just added. |
Search tag: In my case this was the errormessage. I first searched for this error but then found this issue so i add this line in this issue for later people searching for the errormessage. |
@hobinjk the work to upgrade from ArduinoJson 5 to 6 does not look huge: https://arduinojson.org/v6/doc/upgrade/. Would it make sense to upgrade? Supporting both versions would be doable, but would it make sense? |
Hi, it's already stable, so IMHO is a good time to update this library.. 😃 Thanks for all. |
If you update it please also try other sample apps built with top makefile |
From version 6.0.0 (beta) Arduino JSON library doesn't compile with webthing-arduino/ ESP8266.
Quote from [https://github.com/bblanchon/ArduinoJson/issues/760]
"Indeed ArduinoJson 6 replaced the concept of JsonBuffer with the concept of JsonDocument.
To fix this error, you need either:
Downgrade ArduinoJson to 5.x (recommended as v6 is still in beta)
Upgrade your program to work with ArduinoJson 6"
The text was updated successfully, but these errors were encountered: