* Package name : golang-gopkg-ghodss-yaml.v1
Version : 1.0.0-1
Upstream Author : Sam Ghods
* URL : https://github.com/ghodss/yaml
* License : MIT
Programming Lang: Go
Description : A better way to marshal and unmarshal YAML in Golang
YAML marshaling and unmarshaling support for Go
.
Build Status (https://travis-ci.org/ghodss/yaml)
.
Introduction
.
A wrapper around go-yaml (https://github.com/go-yaml/yaml) designed to
enable a better way of handling YAML when marshaling to and from
structs.
.
In short, this library 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. For
a detailed overview of the rationale behind this method, see this blog
post
(https://web.archive.org/web/20150812020634/http://ghodss.com/2014/the-
right-way-to-handle-yaml-in-golang/).
.
Compatibility
.
This package uses go-yaml (https://github.com/go-yaml/yaml) and therefore
supports everything go-yaml supports (https://github.com/go-
yaml/yaml#compatibility).
Needed by golang-github-launchdarkly-go-server-sdk