Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/matsubara0507/jsonparser

JSON Parser using Haskell
https://github.com/matsubara0507/jsonparser

haskell json-parser

Last synced: 4 days ago
JSON representation

JSON Parser using Haskell

Awesome Lists containing this project

README

        

# ただの JSON パーサー

```
$ stack exec -- jsonparser sample.json
JObject [("firstName",JString "John"),("lastName",JString "Smith"),("isAlive",JBool True),("age",JNumber 25.0),("address",JObject [("streetAddress",JString "21 2nd Street"),("city",JString "New York"),("state",JString "NY"),("postalCode",JString "10021-3100")]),("phoneNumbers",JArray [JObject [("type",JString "home"),("number",JString "212 555-1234")],JObject [("type",JString "office"),("number",JString "646 555-4567")],JObject [("type",JString "mobile"),("number",JString "123 456-7890")]]),("children",JArray []),("spouse",JNull)]
```