aeson-pretty: JSON pretty-printing library and command-line tool.
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.
[Skip to Readme]
Versions [faq] | 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, 0.8.6, 0.8.7 |
---|---|
Dependencies | aeson (==0.6.*), attoparsec (==0.10.*), base (==4.*), bytestring (==0.9.*), cmdargs (==0.7.*), containers, text (==0.11.*), unordered-containers (>=0.1.3.0), vector (==0.9.*) [details] |
License | BSD-3-Clause |
Copyright | Copyright 2011 Falko Peters |
Author | Falko Peters <falko.peters@gmail.com> |
Maintainer | Falko Peters <falko.peters@gmail.com> |
Category | Text, Web, JSON, Pretty Printer |
Home page | http://github.com/informatikr/aeson-pretty |
Bug tracker | http://github.com/informatikr/aeson-pretty/issues |
Source repo | head: git clone http://github.com/informatikr/aeson-pretty |
Uploaded | by FalkoPeters at Sun Jan 22 10:47:23 UTC 2012 |
Distributions | Arch:0.8.7, Debian:0.8.7, Fedora:0.8.7, FreeBSD:0.7.2, LTSHaskell:0.8.7, NixOS:0.8.7, Stackage:0.8.7, openSUSE:0.8.7 |
Executables | aeson-pretty |
Downloads | 63962 total (679 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] |
Flags
Name | Description | Default | Type |
---|---|---|---|
lib-only | Only build/install the library, NOT the command-line tool. | Disabled | Automatic |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- aeson-pretty-0.6.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)