JSONParser: Parse JSON

[ bsd3, library, text ] [ Propose Tags ]

[Skip to Readme]
Versions [faq] 0.1.0.1, 0.1.0.2, 0.1.0.3
Change log ChangeLog.md
Dependencies base (==4.9.*), parsec (==3.1.*) [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 Thu Feb 14 10:50:37 UTC 2019
Distributions NixOS:0.1.0.3
Downloads 618 total (64 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2019-02-14 [all 3 reports]

Modules

  • Text
    • Text.JSONParser

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for JSONParser-0.1.0.3

[back to package description]

JSONParser

usage:

$ 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))))])])]