goccy/go-yaml
YAML support for the Go language observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 76
- Release rhythm 65
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 1
- age_days: 2520
- days_rel: 238
- days_push: 144
- n_releases_24m: 46
Adoption not part of the score
2223 stars · 249 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A from-scratch YAML parser and serializer library for Go, developed as a replacement for go-yaml/yaml. It offers higher YAML test suite coverage, intuitive validation errors, and AST-based reversible transformations including comments and anchors/aliases.
Use cases
- parse yaml configuration files in go
- marshal go structs to yaml
- unmarshal yaml into go structs
- preserve comments when transforming yaml
- get meaningful validation errors from yaml configs
- replace go-yaml/yaml in an existing project
When to choose
- you need better YAML spec coverage than go-yaml/yaml
- you need reversible YAML transformations with comments or anchors/aliases via AST
- you want intuitive, source-aware error messages for config validation
- you want a dependency-free, actively maintained YAML library
When to avoid
- you need drop-in compatibility with gopkg.in/yaml.v3 APIs
- your project already depends on sigs.k8s.io/yaml or ghodss/yaml and you don't want to migrate
- you only need trivial YAML handling and the de facto standard suffices
Facets
library · maturity active
parser serialization parsers developer-tools files go cross-platform yaml golang-library configuration ast marshaler
2 sources
- readme: https://github.com/goccy/go-yaml · fetched 2026-08-28 · 1b7d52f8d97b
- homepage: https://goccy.github.io/go-yaml · fetched 2026-08-29 · 2ce88403be4d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| goccy/go-yaml | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem