Open snahmad opened 5 years ago
Sure, I am using this json. I wonder Is there JSON format you are using to return list folders and sub folders files with nested levels.
Like you can see in this code, all nested values are build from iterations and JSONObject. https://github.com/nkolban/ESP32_Explorer/blob/master/main/BLEExplorer.cpp
I am using mongoose web server on ESP32 with card mount. I enable direct list. When I point my web server to folder. Web browser does not browser folders and shows folders and files as folder explorer enable_directory_listing = "yes"
Any idea.
It works on Windows platform. Mongoose web server shows folders and files.
Like you can see in this code, all nested values are build from iterations and JSONObject. https://github.com/nkolban/ESP32_Explorer/blob/master/main/BLEExplorer.cpp
For Get JSON file system folders and files. This is more relevant.
Hi,
I need to return in JSON reply via HTTP rest api list of folders and sub folders with files names to be shown on UI. User can select files or folders and I can download it on PC. Is JSON module which generate files explorer is moduler, so I can use it as module integrate into my codebase. Otherwise I can write myself JSON generated from file system. any JSON format recommendation for folders and sub folders.
Thanks, Naeem