The goal of this project is to allow its user to give the script a json
file and be able to store it and access its elements in C.
Warning
This parser does not sanitize the content it reads (for now, at least). Use at your own risk.
For now, the best way to see the script working is to print the contents of the json in the terminal, which is what the script does when launched.
User friendly usage has not been thought about yet, but I will
To use the script, clone the repository on your computer :
git clone git@github.com:Aeldit/JsonParser.git
cd JsonParser
Then run the following commands :
Make sure the
configure
file has execution permission (chmod +x configure
)
./configure
make
./json-parser <your_file.json>
If you want to build using the address sanitizer and gdb, run
./configure DEBUG