Closed MrWilliam932 closed 4 years ago
Downgrade your Arduino JSON to version 5, this library doesn't currently support v6
On Fri, 22 Mar 2019, 19:43 MrWilliam932, notifications@github.com wrote:
error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
DynamicJsonBuffer jsonBuffer;
^
In member function 'bool YoutubeApi::getChannelStatistics(String)':
error: 'jsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer;
^
error: 'ArduinoJson::JsonObject' has no member named 'success'
if(root.success()) {
^
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witnessmenow/arduino-youtube-api/issues/15, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfXwrxcmxwooko7Lk4NoLLN5S_aZzndks5vZTJbgaJpZM4cES7D .
Fixed in #23
error: DynamicJsonBuffer is a class from ArduinoJson 5. Please see arduinojson.org/upgrade to learn how to upgrade your program to ArduinoJson version 6
DynamicJsonBuffer jsonBuffer;
In member function 'bool YoutubeApi::getChannelStatistics(String)':
error: 'jsonBuffer' was not declared in this scope
DynamicJsonBuffer jsonBuffer;
error: 'ArduinoJson::JsonObject' has no member named 'success'
if(root.success()) {