Registry / serialization / nwidger-jsoncolor

nwidger-jsoncolor

JSON →
library0.3.2gogounverified

Drop-in replacement for encoding/json's Marshal and MarshalIndent functions with colorized output.

go get github.com/nwidger/jsoncolor
INSTALL
IMPORT
SIG · NWIDGER-JSONCOLOR
N
nwidger-jsoncolor
serializationgov0.3.2
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.

jsoncolor
✓ github.com/nwidger/jsoncolor

Marshal a map to colorized JSON.

package main import ( "fmt" "github.com/nwidger/jsoncolor" ) func main() { data := map[string]string{"hello": "world"} out, _ := jsoncolor.MarshalIndent(data, "", " ") fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
nwidger-jsoncolor — go get nwidger-jsoncolor · libregistry