IDE doesn't find libraries in the libraries folder

Hello,

I am trying to add a header only library to my arduino project in order to read json files.
I extracted the zip file to the libraries folder but when I include it in my sketch the compiler doesn't find the header file.

I don't understand what I'm missing.

#include <jsoncpp/json/json.h>

/home/robin/Arduino/Arduino_Tan/Arduino_Tan.ino:1:31: fatal error: jsoncpp/json/json.h: No such file or directory
#include <jsoncpp/json/json.h>
^
compilation terminated.
exit status 1
Error compiling for board Generic ESP8266 Module.
Invalid library found in /home/robin/Arduino/libraries/jsoncpp: /home/robin/Arduino/libraries/jsoncpp
Invalid library found in /home/robin/Arduino/libraries/jsoncpp: /home/robin/Arduino/libraries/jsoncpp

Libraries must be installed directly under the libraries folder, not in a subfolder. It looks like you have an extra subfolder level:

/home/robin/Arduino/libraries
|_jsoncpp
|_json
|_json.h

where the library is in the json folder. You need to move that folder up directly under the libraries folder:

/home/robin/Arduino/libraries
|_json
|_json.h

Then change your #include directive to this:

#include <json.h>