Registry / serialization / hokaccha-go-prettyjson

hokaccha-go-prettyjson

JSON →
library0.0.0-20211117102719-0474bc63780fgogounverified

Package prettyjson provides JSON pretty print.

go get github.com/hokaccha/go-prettyjson
INSTALL
IMPORT
SIG · HOKACCHA-GO-PRETTY
H
hokaccha-go-prettyjson
serializationgov0.0.0-20211117102719-0474bc63780f
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prettyjson
github.com/hokaccha/go-prettyjson

Pretty-prints a Go value as indented JSON

package main import ( "fmt" "github.com/hokaccha/go-prettyjson" ) func main() { data := map[string]interface{}{"foo": "bar"} out, _ := prettyjson.Marshal(data) fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20211117102719-0474bc63780flatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
hokaccha-go-prettyjson — go get hokaccha-go-prettyjson · libregistry