Bug#945085: ITP: golang-github-tidwall-pretty -- Efficient JSON beautifier and compactor for Go
Package: wnpp
Severity: wishlist
Owner: Andreas Henriksson <andreas@fatal.se>
* Package name : golang-github-tidwall-pretty
Version : 1.0.0-1
Upstream Author : Josh Baker
* URL : https://github.com/tidwall/pretty
* License : TODO
Programming Lang: Go
Description : Efficient JSON beautifier and compactor for Go
Pretty is a Go package that provides fast methods for formatting JSON for
human readability, or to compact JSON for smaller payloads.
.
* pretty.Pretty will reformat the JSON for readability.
* pretty.Color will add color to the result for printing to the terminal.
The second param is used for a customizing the style, and passing nil will
use the default pretty.TerminalStyle.
* pretty.Ugly will reformat the JSON to make it more compact.
.
There's a PrettyOptions(json, opts) function which allows for customizing the
output.
This is a dependency of garagemq a.k.a. kubemq.io
Reply to: