The aeson-pretty package
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 the 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.
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 |
|---|---|
| Dependencies | aeson (0.6.*), attoparsec (0.10.*), base (4.*), bytestring (≥0.9 & <0.11), containers, text (0.11.*), unordered-containers (≥0.1.3.0), vector (≥0.9 & <0.11) |
| License | BSD3 |
| Copyright | Copyright 2011 Falko Peters |
| Author | Falko Peters <falko.peters@gmail.com> |
| Maintainer | Falko Peters <falko.peters@gmail.com> |
| Stability | experimental |
| Category | Text, Web, JSON, Pretty Printer |
| Home page | http://github.com/informatikr/aeson-pretty |
| Bug tracker | http://github.com/informatikr/aeson-pretty/issues |
| Source repository | git clone http://github.com/informatikr/aeson-pretty |
| Executables | aeson-pretty |
| Upload date | Sat Sep 29 08:13:28 UTC 2012 |
| Uploaded by | FalkoPeters |
| Built on | ghc-7.6 |
Modules
- Data
- Aeson
- Encode
- Aeson
Downloads
- aeson-pretty-0.6.3.tar.gz (Cabal source package)
- package description (included in the package)