Skip to content

howenyap/json-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-parser

Test cases are from coding challenges.

The largest JSON file that I could find is from here.

Usage

Install rust following the official instructions here.

Clone the repository and navigate to the project directory:

git clone https://github.com/howenyap/json-parser.git && cd json-parser

Build the project:

cargo build --release

Run the project:

cargo run --release <file>

If you'd like to see the lexed tokens, use the --verbose / -v flag to write them to tokens.txt:

cargo run --release <file> --verbose

Note: When running the program on large files with the verbose flag, it may take a long time to write the tokens to file

Run the tests:

cargo test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages