aeson-pretty: JSON pretty-printing library and command-line tool.
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- These packages miss upper bounds: - attoparsec - attoparsec-aeson - base-compat - bytestring - cmdargs - scientific - semigroups - text - unordered-containers - vector Please add them, using `cabal gen-bounds` for suggestions. For more information see: https://pvp.haskell.org/
- 'ghc-prof-options: -fprof*' profiling flags are typically not appropriate for a distributed library package. These flags are useful to profile this package, but when profiling other packages that use this one these flags clutter the profile output with excessive detail. If you think other packages really want to see cost centres from this package then use '-fprof-auto-exported' which puts cost centres only on exported functions. Alternatively, if you want to use this, make it conditional based on a Cabal configuration flag (with 'manual: True' and 'default: False') and enable that flag during development.
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.
[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, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.8.10, 0.8.10 |
---|---|
Change log | CHANGELOG.markdown |
Dependencies | aeson (>=1.1 && <1.6 || >=2.0 && <2.3), aeson-pretty, attoparsec (>=0.10), attoparsec-aeson, base (>=4.5), base-compat (>=0.9), bytestring (>=0.9), cmdargs (>=0.7), scientific (>=0.3), semigroups (>=0.18.2), text (>=0.11), unordered-containers (>=0.2.14.0), vector (>=0.9) [details] |
License | BSD-3-Clause |
Copyright | Copyright 2011 Falko Peters |
Author | Falko Peters <falko.peters@gmail.com> |
Maintainer | Martijn Bastiaan <martijn@hmbastiaan.nl> |
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 martijnbastiaan at 2023-07-01T07:30:53Z |
Modules
[Index] [Quick Jump]
- Data
- Aeson
- Encode
- Aeson
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
lib-only | Only build/install the library, NOT the command-line tool. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- aeson-pretty-0.8.10.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees