How to import external libs underlibdeps inside the lib folder

Hi…
I am using (just for doing an example ) an external lib inside the libdeps folder…
I am calling the lib including the header file in this way…

#include <ArduinoJson.h>

But le’t suppose i want to import the lin inside another lib i have created which is for example inside lib/mqtt/ArduinoJson…

How should i write the include file ?

image

Thanks a lot

The first include seems ver weird. Does #include <ArduinoJson.h> not compile?

Hi Max… There is a misunderstanding…
For sure the first include works… but when the lib is inside the folder libdeps and present in the platformio.ini file…
My idea is to move this lib from the the external libs and import it in the internal libs,
The idea is to remove uncalled files…
The problem is when I call the include in the second picture I got the error i have reported above…
I don’t know now if it is clear…