Skip to content

JSON parser written in C that allows data manipulation once the file is parsed

Notifications You must be signed in to change notification settings

Aeldit/JsonParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json Parser

nvim c

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.

Description

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

Usage

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

About

JSON parser written in C that allows data manipulation once the file is parsed

Resources

Stars

Watchers

Forks