Support for serialising Haskell to and from JSON

Version on this page:0.9.1
LTS Haskell 9.0:0.9.1
Stackage Nightly 2017-07-25:0.9.1
Latest on Hackage:0.9.1
BSD3 licensed by Galois Inc.
Maintained by Iavor S. Diatchki (iavor.diatchki@gmail.com)

Module documentation for 0.9.1

There are no documented modules for this package.

JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999.

This library provides a parser and pretty printer for converting between Haskell values and JSON.


Version 0.9.1
* Merge-in contributions from Neil Mitchell to support GHC 7.10

Version 0.9
* Merge-in contributions from Neil Mitchell to accomodate working with HEAD.

Version 0.8
* Add `Applicative` instance for `GetJSON`

Version 0.4.4: released 2009-01-17; changes from 0.4.2

* Fixes handling of unterminated strings.

Version 0.4.3: released 2009-01-17; changes from 0.4.2

* optimize some common cases..string and int literals.
Reduces parse times by > 2x on larger dict inputs containing
both kinds of lits.

Version 0.4.2: released 2009-01-17; changes from 0.4.1

* fixed Cabal build issues with various versions of 'base' and Data.Generic
* fixed whitespace-handling bug in Parsec-based frontend.

Version 0.4.1: released 2009-01-12; changes from 0.3.6

* Addition of extra JSON instances:
- IntMap, Set, Array, IntSet

* Dropped initial letter case-lowering for constructors:
- Maybe's constructors are mapped to "Nothing","Just".
- Either's constructors are mapped to "Left", "Right".

* Ordering's are represented by their constructor names (was
funky int-mapping.)

* JSON.Text.Result is now an instance of MonadError; contributed
by Andy Gimblett.

* Included Lennart Augustsson's contributed generic JSON encoder,
in Text.JSON.Generic

* Optional JSON dict-mapping for Data.Map and Data.IntMap

comments powered byDisqus