Registry / serialization / minio-colorjson

minio-colorjson

JSON →
library1.0.8gogounverified

A Go library for colorized JSON output, commonly used for debugging and logging.

go get github.com/minio/colorjson
INSTALL
IMPORT
SIG · MINIO-COLORJSON
M
minio-colorjson
serializationgov1.0.8
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.

colorjson
github.com/minio/colorjson

Marshals a map to colorized JSON and prints it.

package main import ( "fmt" "github.com/minio/colorjson" ) func main() { data := map[string]interface{}{"key": "value"} out, _ := colorjson.MarshalIndent(data, "", " ") fmt.Println(string(out)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
minio-colorjson — go get minio-colorjson · libregistry