The json package

[Tags:bsd3, library]

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
Change log CHANGES
Dependencies array, base (<4.8), bytestring, containers, mtl, parsec, pretty, syb (>=0.3.3), text [details]
License BSD3
Copyright (c) 2007-2009 Galois Inc.
Author Galois Inc.
Maintainer Sigbjorn Finne <>
Stability Unknown
Category Web
Uploaded Fri Sep 28 20:35:09 UTC 2012 by IavorDiatchki
Updated Fri Jul 10 19:53:11 UTC 2015 by AdamBergmark to revision 1
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 35922 total (56 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




split-baseUse the new split base package.EnabledAutomatic
parsecAdd support for parsing with Parsec.EnabledAutomatic
prettyAdd support for using pretty printing combinators.EnabledAutomatic
genericAdd support for generic encoder.EnabledAutomatic
mapdictEncode Haskell maps as JSON dictsDisabledAutomatic

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


Maintainer's Corner

For package maintainers and hackage trustees