The aeson-pretty package

[ Tags: bsd3, json, library, pretty-printer, text, web ] [ Propose Tags ]

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.


[Skip to Readme]

Properties

Versions 0.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, 0.7.2, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5
Dependencies aeson (==0.3.2.*), attoparsec (>=0.8.6.1), base (==4.*), blaze-builder (>=0.2.1.4), bytestring (==0.9.*), cmdargs (==0.7.*), containers, text, vector (>=0.7) [details]
License BSD3
Copyright Copyright 2011 Falko Peters
Author Falko Peters <falko.peters@gmail.com>
Maintainer Falko Peters <falko.peters@gmail.com>
Category Text, Web, JSON
Home page http://github.com/informatikr/aeson-pretty
Bug tracker http://github.com/informatikr/aeson-pretty/issues
Source repository head: git clone http://github.com/informatikr/aeson-pretty
Uploaded Sat Jun 11 19:57:41 UTC 2011 by FalkoPeters
Distributions Arch:0.8.5, Debian:0.7.2, Fedora:0.8.2, FreeBSD:0.7.2, LTSHaskell:0.8.5, NixOS:0.8.5, Stackage:0.8.5, Tumbleweed:0.8.5
Executables aeson-pretty
Downloads 50195 total (3084 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for aeson-pretty-0.1

[back to package description]

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

Authors

This library is written and maintained by Falko Peters, falko.peters@gmail.com.