Skip to content

StaticJsonDocument is deprecated #23

@thijstriemstra

Description

@thijstriemstra

Using bblanchon/ArduinoJson@^7.0.4:

.pio/libdeps/myproject/FastLEDHub/src/Fade.cpp: In function 'void Fade::{anonymous}::getSunsetTime()':
.pio/libdeps/myproject/FastLEDHub/src/Fade.cpp:65:7: warning: 'template<unsigned int N> class ArduinoJson::V704PB2::StaticJsonDocument' is deprecated: use JsonDocument instead [-Wdeprecated-declarations]
       StaticJsonDocument<1024> doc;
       ^~~~~~~~~~~~~~~~~~

and:

.pio/libdeps/myproject/FastLEDHub/src/Config.cpp: In member function 'String ConfigClass::asString(bool)':
.pio/libdeps/myproject/FastLEDHub/src/Config.cpp:175:26: warning: 'DynamicJsonDocument' is deprecated: use JsonDocument instead [-Wdeprecated-declarations]
   DynamicJsonDocument doc(3072);

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