Skip to content

Arduino Json V6 library issue 'DynamicJsonBuffer' was not declared in this scope #62

Description

@zoomx

Since V6 version of ArduinoJson library you get this (and others) error when compiling
'DynamicJsonBuffer' was not declared in this scope
That's because many changes were made.
https://arduinojson.org/v6/doc/upgrade/
See also here
https://github.com/bblanchon/ArduinoJson/issues/756
and here as example of upgrading code
https://github.com/tobozo/M5Stack-SD-Updater/commit/7610cb1ea17d05434d24723886f9b51721adfb69

Using ArduinoJson version 5.13.4 still compile, but since new Arduino IDE come with 6 version maybe it's better to add something in readme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions