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.
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://github.com/informatikr/aeson-pretty.git
This library is written and maintained by Falko Peters, firstname.lastname@example.org.