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.


Versions0.3.3, 0.3.6, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.5, 0.6, 0.7
Dependenciesbase (<3) or
array, base (>=3), bytestring, containers, mtl
Copyright(c) 2007-2009 Galois Inc.
AuthorGalois Inc.
MaintainerSigbjorn Finne <>
Upload dateTue Jan 13 03:59:51 UTC 2009
Uploaded bySigbjornFinne
DistributionsDebian:0.5, Fedora:0.7, FreeBSD:0.7, NixOS:0.7
Downloads23902 total (1808 in last 30 days)




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

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


Maintainers' corner

For package maintainers and hackage trustees