FileSize | 9016 |
MD5 | 18792C93FB987E86665215FD147431E1 |
PackageDescription | 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. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | golang-github-tidwall-pretty-dev |
PackageSection | devel |
PackageVersion | 1.0.1-1 |
SHA-1 | 7631466B2E398C2A73114F447D5010DFB4969AEB |
SHA-256 | A20EC11862AF2C669EF780D3002B0D7E9F9670868B59EA48F8A66313A62A92B8 |