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 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.
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.
To install aeson-pretty, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install aeson-pretty
To see what files were installed by aeson-pretty, run:
port contents aeson-pretty
To later upgrade aeson-pretty, run:
sudo port selfupdate && sudo port upgrade aeson-pretty
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.