[ ソース: golang-github-tidwall-pretty ]
パッケージ: golang-github-tidwall-pretty-dev (1.0.5-1)
golang-github-tidwall-pretty-dev に関するリンク
Debian の資源:
golang-github-tidwall-pretty ソースパッケージをダウンロード:
- [golang-github-tidwall-pretty_1.0.5-1.dsc]
- [golang-github-tidwall-pretty_1.0.5.orig.tar.gz]
- [golang-github-tidwall-pretty_1.0.5-1.debian.tar.xz]
メンテナ:
外部の資源:
- ホームページ [github.com]
類似のパッケージ:
- golang-github-kr-pretty-dev
- golang-github-ttacon-chalk-dev
- golang-github-mightyguava-jl-dev
- golang-github-k0kubun-pp-dev
- libghc-aeson-pretty-dev
- libghc-ansi-wl-pprint-dev
- libghc-aeson-pretty-doc
- libghc-ansi-wl-pprint-doc
- libghc-aeson-pretty-prof
- libghc-ansi-wl-pprint-prof
- golang-github-charmbracelet-log-dev
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.