Package0.8.10TextWebJSONPretty Printer
aeson-pretty
JSON pretty-printing library and command-line tool.
- Version0.8.10
- CategoryText, Web, JSON, Pretty Printer
- LicenceBSD-3-Clause
- AuthorFalko Peters <falko.peters@gmail.com>
- MaintainerMartijn Bastiaan <martijn@hmbastiaan.nl>
- Homepagegithub.com/informatikr/aeson-pretty
- Pinned byhackage aeson-pretty 0.8.10
- Sourcehackage.haskell.org/package/aeson-pretty-0.8.10
Modules
1 module- Data.Aeson.Encode.Pretty11Aeson-compatible pretty-printing of JSON Values.
Description
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.
Depends on
8 packages- aeson-2.2.3.0in this set
- base-4.20.2.0with GHC
- base-compat-0.14.1in this set
- bytestring-0.12.2.0with GHC
- scientific-0.3.8.0in this set
- text-2.1.3with GHC
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set