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.4), bytestring, containers, mtl, parsec, pretty, syb [details]
License BSD3
Copyright (c) 2007-2009 Galois Inc.
Author Galois Inc.
Maintainer Sigbjorn Finne <>
Category Web
Uploaded Sun Jan 18 04:24:42 UTC 2009 by SigbjornFinne
Updated Fri Jul 10 19:54:59 UTC 2015 by AdamBergmark to revision 2
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 44079 total (1953 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




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