# ghodss/yaml

> Go YAML marshaling that reuses JSON struct tags, by converting YAML to JSON (unmaintained)

Source: https://talira.ai/catalog/ghodss-yaml-kwfw6bdt
Every listing: https://talira.ai/catalog.md

Status: ghodss/yaml looks abandoned: nothing has changed since May 2023, and its makers haven't said it has ended. No commits since May 2023, and its open issues and pull requests go unanswered, including one asking whether anyone maintains it. Source: https://github.com/ghodss/yaml/issues

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / yaml](https://talira.ai/categories/developer-tools/parsing/yaml), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT AND BSD-3-Clause[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Sam Ghods](https://talira.ai/orgs/sam-ghods.md)

ghodss/yaml is a Go library that wraps go-yaml for a better way of marshaling YAML to and from structs: it converts YAML to JSON with go-yaml, then uses Go's encoding/json, so it reuses JSON struct tags and the custom MarshalJSON and UnmarshalJSON methods. It also converts between YAML and JSON directly. It hasn't changed since 2023; [sigs.k8s.io/yaml](https://talira.ai/catalog/sigs-k8s-io-yaml-vgvmt632.md) is its permanent fork, maintained by Kubernetes.

## Links

- GitHub: https://github.com/ghodss/yaml

## Problems it solves

- use my existing JSON struct tags when reading YAML in Go
- convert YAML to JSON in a Go program
- unmarshal YAML into Go structs the same way as JSON

## Features

- marshal and unmarshal YAML using JSON struct tags
- honours custom MarshalJSON and UnmarshalJSON methods
- convert YAML to JSON and JSON to YAML

## Trust

Overall: 0.12 out of 1.
Signals: maintenance 0.00, adoption 0.61, momentum 0.28, community 0.49, backing 0.30, extensibility 0.00.

- latest release v1.0.0 9.7 years ago
- 1.1k GitHub stars
- 16 contributors
- backed by Sam Ghods

Warnings:

- abandoned: not maintained since May 2023
- last commit 4.9 years ago

## Forks

- [sigs.k8s.io/yaml](https://talira.ai/catalog/sigs-k8s-io-yaml-vgvmt632.md): Marshal Go structs to and from YAML using their JSON tags. Its own project.

## Related

- Based on [go-yaml](https://talira.ai/catalog/go-yaml-xz5s6v1e.md)

## Alternatives

- [sigs.k8s.io/yaml](https://talira.ai/catalog/sigs-k8s-io-yaml-vgvmt632.md): Marshal Go structs to and from YAML using their JSON tags
- [go-yaml (yaml/go-yaml)](https://talira.ai/catalog/go-yaml-yaml-go-yaml-x2bj0gc4.md): YAML for Go, maintained by the YAML organization

## Sources

[^1]: https://github.com/ghodss/yaml/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/ghodss/yaml/blob/master/LICENSE (checked 28 Nov 2026)
