JSONParser: Parse JSON

[ bsd3, library, text ] [ Propose Tags ]

[Skip to Readme]
Versions [RSS] [faq],,,
Change log ChangeLog.md
Dependencies base (<10000), parsec (<10000) [details]
License BSD-3-Clause
Author Alan Hawkins
Maintainer hawk.alan@gmail.com
Category Text
Source repo head: git clone http://github.com/xpika/JSONParser.git
Uploaded by AlanHawkins at 2019-05-22T09:44:27Z
Distributions NixOS:
Downloads 2189 total (21 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-05-22 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees


Readme for JSONParser-

[back to package description]



$ cabal install JSONParser
$ ghci
Prelude> :m + Text.JSONParser Text.Parsec 
Prelude Text.JSONParser Text.Parsec> map (parse parser "") ["{ \"a\t\n\\u007F\" : [true] ,false:{null: -3.2e-5 }}"]
[Right (JObject [(JKeyString "a\t\n\DEL",JList [JSingle (JKeyBool True)]),(JKeyBool False,JObject [(JKeyNull,JSingle (JKeyNum (JNumFraction (-3.2000000000000005e-5))))])])]