github.com/oasdiff/yaml
Package yaml provides a wrapper around go-yaml designed to enable a better way of handling YAML when marshaling to and from structs. In short, this package 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.
Ecosystem
proxy.golang.org
proxy.golang.org
Versions
0
0
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/oasdiff/yaml
spec |
| License | BSD-3-Clause, MIT |
| Namespace | github.com/oasdiff |
| Last Synced | 24 days ago |
Rankings on proxy.golang.org
Overall
Top 6.5%