YAML marshaling and unmarshaling support for Go
This package provides a Go library that first converts YAML to JSON using go-yaml
and then uses json.Marshal
and json.Unmarshal
to convert to or from the struct. This means that it effectively reuses the JSON struct tags as well as the custom JSON methods MarshalJSON
and UnmarshalJSON
unlike go-yaml
.
kubernetes-sigs/yaml is a permanent fork of ghodss/yaml.
Linter | Message | Location |
---|---|---|
description Validate package descriptions | sentences in description should be followed by two spaces; possible infraction at 181 |