Yes, a Json parser written in Haskell
Note: Make sure that GHC is installed in your environment
- Clone this Repository
git clone [email protected]:J3m3/hason.git hason
cd hason
- Compile & Link
ghc -o parse Main.hs -no-keep-hi-files -no-keep-o-files
- Let's test! I already provided
about.json
for test, but feel free to test w/ other.json
files.Well, unless they don't touch umimplemented TODOs.
./parse about.json any.json
- use Data.Map instead of [(String, JsonValue)]
- support escape sequences
- support floats
- improve error messages