Registry / serialization / brancz-gojsontoyaml

brancz-gojsontoyaml

JSON →
library0.1.0gogounverified

A simple Go library and CLI tool to convert JSON to YAML format.

go get github.com/brancz/gojsontoyaml
INSTALL
IMPORT
SIG · BRANCZ-GOJSONTOYAM
B
brancz-gojsontoyaml
serializationgov0.1.0
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.

gojsontoyaml
github.com/brancz/gojsontoyaml

Convert a JSON byte slice to YAML.

package main import ( "fmt" "github.com/brancz/gojsontoyaml" ) func main() { yaml, err := gojsontoyaml.JSONToYAML([]byte(`{"key": "value"}`)) if err != nil { panic(err) } fmt.Println(string(yaml)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
12
Meta
1
Amazon
1
OpenAI (training)
1
Resources
brancz-gojsontoyaml — go get brancz-gojsontoyaml · libregistry