BSD-3-Clause licensed by Falko Peters
Maintained by Martijn Bastiaan
This version can be pinned in stack with:aeson-pretty-0.8.10@sha256:6b0d3c1004dc696cdfea45b442dd025b5ca62ecce44bf8669775529d5b672114,2524

Module documentation for 0.8.10

Welcome to aeson-pretty

This is a JSON pretty-printing Haskell 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.

Join in!

We are happy to receive bug reports, fixes, documentation enhancements, and other improvements.

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://

Aeson / GHC support

We support all GHCs supported by the latest Aeson release. This in turn determines which Aeson releases we support.


This library is written by Falko Peters and maintained by Martijn Bastiaan


aeson-pretty changelog


  • Added support for Aeson 2.2
  • Added support for Aeson 2.1


  • Added support for Aeson 2.0