r-downing / SPIFFSReadServer

An SPI Flash File System (SPIFFS) server extension of the ESP8266WebServer
http://ryandowning.net/SPIFFSReadServer/
15 stars 5 forks source link

Can't Find StaticJsonBuffer #3

Open aramperez opened 5 years ago

aramperez commented 5 years ago

I just downloaded this library and tried to compile the spiffs_rest_api example. The example has an "#include " 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 commented 5 years ago

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