Registry / serialization / ghodss-yaml

ghodss-yaml

JSON →
library1.0.0gogounverified

Package yaml provides a YAML parser and emitter for Go, with support for JSON tags.

go get github.com/ghodss/yaml
INSTALL
IMPORT
SIG · GHODSS-YAML
G
ghodss-yaml
serializationgov1.0.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.

yaml
github.com/ghodss/yaml

Unmarshals YAML data into a map.

import "github.com/ghodss/yaml" func main() { data := []byte("key: value\n") var m map[string]interface{} yaml.Unmarshal(data, &m) }
Debug
Known issues
breakingThis package is deprecated in favor of gopkg.in/yaml.v3.
fix
Migrate to gopkg.in/yaml.v3 for ongoing support.
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
ghodss-yaml — go get ghodss-yaml · libregistry