SPIFFSReadServer icon indicating copy to clipboard operation
SPIFFSReadServer copied to clipboard

Can't Find StaticJsonBuffer

Open aramperez opened this issue 7 years ago • 1 comments

I just downloaded this library and tried to compile the spiffs_rest_api example. The example has an "#include <ArduinoJson.h>" statement so I used the library manager to install the ArduinoJson library. But when I compile the library I get the following error:

var/folders/cm/87164lm91_517vp5t0w6lvn00000gn/T/arduino_modified_sketch_438362/spiffs_rest_api.ino: In lambda function: spiffs_rest_api:61: error: 'StaticJsonBuffer' was not declared in this scope

Please help.

TIA, Aram

aramperez avatar Jan 03 '19 19:01 aramperez

Update: I downgraded the ArduinoJson library to version 5.13.4 (the latest before version 6 beta and this fixed the issue. I would suggest you update the ReadMe file until this library works with the version 6.

TIA, Aram

aramperez avatar Jan 04 '19 16:01 aramperez