JSONParser: Parse JSON

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:


[Skip to Readme]

Properties

Versions 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.4
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:43:54Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for JSONParser-0.1.0.4

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