JSONb: JSON parser that uses byte strings.

[ bsd3, library, text ] [ Propose Tags ]

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]

Downloads

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 && <0.10), 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 2015-07-13T20:52:29Z
Category Text
Home page http://github.com/solidsnack/JSONb/
Uploaded by JasonDusek at 2010-06-29T19:39:37Z
Distributions
Reverse Dependencies 5 direct, 335 indirect [details]
Executables json-schema
Downloads 9973 total (29 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

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
      parser.