alla flaggor
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-tidwall-pretty  ]

Paket: golang-github-tidwall-pretty-dev (1.0.5-1)

Länkar för golang-github-tidwall-pretty-dev



Hämta källkodspaketet golang-github-tidwall-pretty:


Externa resurser:

Liknande paket:

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.

Hämta golang-github-tidwall-pretty-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 9,3 kbyte40,0 kbyte [filförteckning]