Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/matsubara0507/jsonparser
- Owner: matsubara0507
- License: mit
- Created: 2017-02-09T18:06:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-13T12:31:59.000Z (almost 7 years ago)
- Last Synced: 2024-12-08T08:42:15.264Z (2 months ago)
- Topics: haskell, json-parser
- Language: Haskell
- Size: 28.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)]
```