The json package

[ Tags: 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 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
Dependencies array, base (<4.8), bytestring, containers, parsec, pretty [details]
License BSD3
Copyright (c) 2007-2008 Galois Inc.
Author Galois Inc.
Maintainer Sigbjorn Finne <>
Category Web
Uploaded Sat Dec 13 05:44:19 UTC 2008 by SigbjornFinne
Updated Fri Jul 10 19:55:26 UTC 2015 by AdamBergmark to revision 1   [What is this?]
Distributions Arch:0.9.1, Debian:0.9.1, Fedora:0.9.1, FreeBSD:0.9.1, LTSHaskell:0.9.1, NixOS:0.9.1, Stackage:0.9.1, Tumbleweed:0.9.1
Downloads 54108 total (3087 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





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