json: Support for serialising Haskell to and from JSON

[ bsd3, library, web ] [ Propose Tags ]

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.

Versions [faq] 0.3.3, 0.3.6, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.10
Dependencies array, base (<4.8), bytestring, containers, parsec, pretty [details]
License BSD-3-Clause
Copyright (c) 2007-2008 Galois Inc.
Author Galois Inc.
Maintainer dons@galois.com
Revised Revision 1 made by AdamBergmark at Fri Jul 10 19:55:39 UTC 2015
Category Web
Uploaded by DonaldStewart at Mon Apr 21 17:59:09 UTC 2008
Distributions Arch:0.10, Debian:0.9.2, Fedora:0.9.3, FreeBSD:0.9.1, LTSHaskell:0.9.3, NixOS:0.10, Stackage:0.9.3
Downloads 66621 total (643 in the last 30 days)
Rating 1.75 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]





Use the new split base package.


Add support for parsing with Parsec.


Add support for using pretty printing combinators.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


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