JSONb: JSON parser that uses byte strings.

[ bsd3, library, text ] [ Propose Tags ]
Versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8
Dependencies attoparsec (>=0.8 && <0.8.5), base (>=2 && <4.5), bytestring (==0.9.*), bytestring‑nums (>=0.3.1), bytestring‑trie (>=0.1.4 && <0.2.4), containers, utf8‑string (>=0.3) [details]
License BSD-3-Clause
Author Jason Dusek
Maintainer jsonb@solidsnack.be
Revised Revision 2 made by AdamBergmark at Mon Jul 13 20:52:29 UTC 2015
Category Text
Home page http://github.com/solidsnack/JSONb/
Uploaded by JasonDusek at Tue Jun 29 19:39:37 UTC 2010
Distributions NixOS:1.0.8
Executables json-schema
Downloads 5118 total (20 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

This parser consumes lazy ByteStrings to produce JSON in a simple, efficient format backed with strict ByteStrings, Rationals and ByteString tries. See the schema generation tools and the command line JSON schema generator (in the examples subdir) for an example of how to use the parsing tools.

[Skip to Readme]




Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for JSONb-1.0.2

[back to package description]
  JSONb is a library for parsing JSON from lazy ByteStrings. It assumes the
  input is UTF-8.

                                                                    Test Suite

    We test the library by:

   .  Pulling down large amounts of JSON from various web service providers.

   .  Parsing and unparsing the JSON with our parser.

   .  Feeding the original JSON along with our unparsed variety to the
      json.org parser.

   .  Testing that our parsed-unparsed JSON parses to the same JavaScript
      values as the original JSON from the point of view of the json.org