JSONParser 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+11/−1 lines, 2 files
Files
- JSONParser.cabal +2/−1
- README.md +9/−0
JSONParser.cabal view
@@ -1,5 +1,5 @@ name: JSONParser-version: 0.1.0.2+version: 0.1.0.3 cabal-version: >=1.10 build-type: Simple license: BSD3@@ -23,6 +23,7 @@ base >=4.9 && <4.10, parsec >=3.1 && <3.2 default-language: Haskell2010+ default-extensions: Safe other-extensions: NoMonomorphismRestriction
README.md view
@@ -1,1 +1,10 @@ # 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))))])])]+```