-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aa2c38b
commit e220d9e
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
# Json Parser | ||
|
||
My take on [Write Your Own JSON Parser | Coding Challenges](https://codingchallenges.fyi/challenges/challenge-json-parser/) using [Parser combinator](https://en.wikipedia.org/wiki/Parser_combinator) by John Crickett using JS | ||
My take on [Write Your Own JSON Parser | Coding Challenges](https://codingchallenges.fyi/challenges/challenge-json-parser/) by John Crickett using JS | ||
|
||
## How the project works? | ||
- This project is a script that checks whether an object is a valid "JSON" object or not. | ||
- There are group of steps (folders) that contain a set of valid and invalid objects, and the script will tell you which one is valid. | ||
- There are group of test folders that contain a set of valid and invalid objects, and the script will tell you which one is valid. | ||
|
||
## How to run the project | ||
- Clone the project | ||
- `npm install` | ||
- `npm start` | ||
|
||
- You can choose which test you want to teparse by uncommenting it in `app-test,js` file. | ||
- Then run the command "node app-test" in the terminal | ||
- You can choose which test you want to teparse by uncommenting it in app-test.js file. | ||
- Then run the command `node app-test` in the terminal | ||
|
||
## Resources used | ||
|
||
Thisa are the main resources I have used to help me build the json parser. | ||
[Introduction to JSON](https://www.json.org/json-en.html/). | ||
[Parser Combinators: a Walkthrough](https://hasura.io/blog/parser-combinators-walkthrough/) | ||
[A gentle introduction to parser combinators - DEV Community](https://dev.to/yelouafi/a-gentle-introduction-to-parser-combinators-21a0) | ||
|
||
- Code a JSON Parser according to [this](https://codingchallenges.fyi/challenges/challenge-json-parser/). | ||
- [Introduction to JSON](https://www.json.org/json-en.html/). | ||
- [Parser Combinators: a Walkthrough](https://hasura.io/blog/parser-combinators-walkthrough/) | ||
- [A gentle introduction to parser combinators - DEV Community](https://dev.to/yelouafi/a-gentle-introduction-to-parser-combinators-21a0) | ||
|