talira

Compare

ghodss/yamlsigs.k8s.io/yamlgo-yaml (yaml/go-yaml)
What it isGo YAML marshaling that reuses JSON struct tags, by converting YAML to JSON (unmaintained)Marshal Go structs to and from YAML using their JSON tagsYAML for Go, maintained by the YAML organization
KindOpen sourceOpen sourceOpen source
Trust0.120.330.63
Stars1063355574
Last commit2022-01-182025-12-142026-11-25
LicenceMIT AND BSD-3-ClauseMIT AND BSD-3-ClauseApache-2.0 AND MIT
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanySam GhodsKubernetes SIG API MachineryThe YAML Project
Features
  • marshal and unmarshal YAML using JSON struct tags
  • honours custom MarshalJSON and UnmarshalJSON methods
  • convert YAML to JSON and JSON to YAML
  • marshal and unmarshal YAML with a struct's JSON tags
  • reuses custom JSON marshalling methods for YAML
  • YAMLToJSON and JSONToYAML conversion
  • supports everything go-yaml supports
  • decode YAML into Go structs, maps, slices and custom types
  • work with YAML nodes and comments
  • Load and Dump APIs with options and plugins (v4)
  • version presets that restore v3 defaults
  • go-yaml command-line tool using the same pipeline
Limitations
    • Binary data must not be tagged !!binary, or it's decoded to native binary and then wrongly re-encoded
    • Maps whose keys are maps fail, since JSON doesn't support them