aeson-pretty

JSON pretty-printing library and command-line tool.

http://github.com/informatikr/aeson-pretty

Version on this page:0.8.9@rev:2
LTS Haskell 22.39:0.8.10
Stackage Nightly 2024-10-31:0.8.10
Latest on Hackage:0.8.10

See all snapshots aeson-pretty appears in

BSD-3-Clause licensed by Falko Peters
Maintained by Martijn Bastiaan
This version can be pinned in stack with:aeson-pretty-0.8.9@sha256:f7b1808efab1b9edd0efbdfc2cd47e7dfe8bbd42ee970d1d3780112a4de125a1,2559

Module documentation for 0.8.9

Welcome to aeson-pretty

Build Status

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://github.com/informatikr/aeson-pretty.git

Authors

This library is written and maintained by Falko Peters, [email protected].

Changes

aeson-pretty changelog

0.8.9

  • Added support for Aeson 2.0