jsonfs is a FUSE filesystem that mounts a JSON file as a virtual directory structure. Nested objects and arrays become directories while primitive values (strings, numbers, double and booleans) become readable files.
The filesystem supports only read operations.
-
In order to compile the program, you need to install:
- libfuse2 (install with your package manager)
- libjansson
- A POSIX-compliant system (Linux/macOS)
-
Clone the repository
git clone [email protected]:elfkuzco/jsonfs.git
-
Go inside the directory
cd jsonfs
-
Compile the program
make
./jsonfs [-o nonmepty] <path-to-json-file> <mountpoint>
fusermount -u <mountpoint>