The aeson-pretty package

[Tags: bsd3, library]

A JSON pretty-printing library compatible with aeson as well as a command-line tool to improve readabilty of streams of JSON data.

The library provides a single function encodePretty. It is a drop-in replacement for aeson's encode function, producing JSON-ByteStrings for human readers.

The command-line tool reads JSON from stdin and writes prettified JSON to stdout. It also offers a complementary compact-mode, essentially the opposite of pretty-printing. If you specify -flib-only like this

 cabal install -flib-only aeson-pretty

the command-line tool will NOT be installed.


Versions0.1, 0.2, 0.2.1, 0.3, 0.3.1, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.7, 0.7.1
Dependenciesaeson (==0.6.*), attoparsec (==0.10.*), base (==4.*), bytestring (==0.9.*), containers, text (==0.11.*), unordered-containers (>=, vector (==0.9.*)
CopyrightCopyright 2011 Falko Peters
AuthorFalko Peters <>
MaintainerFalko Peters <>
CategoryText, Web, JSON, Pretty Printer
Home page
Bug tracker
Source repositoryhead: git clone
Upload dateSun Jan 22 10:47:23 UTC 2012
Uploaded byFalkoPeters
DistributionsDebian:0.7.1, Fedora:0.7.1, NixOS:0.7.1
Downloads16209 total (2007 in last 30 days)




lib-onlyOnly build/install the library, NOT the command-line tool.Disabled

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


Maintainers' corner

For package maintainers and hackage trustees