{"repo":"goccy/go-yaml","free":true,"listed":false,"github":"https://github.com/goccy/go-yaml","clone":"git clone https://github.com/goccy/go-yaml.git","description":"YAML support for the Go language","language":"Go","stars":2220,"topics":["go","golang","golang-library","yaml","yaml-parser"],"license":"MIT","category":"dev-tools","readme_excerpt":"YAML support for the Go language This library has NO relation to the go-yaml/yaml library [!IMPORTANT] This library is developed from scratch to replace go-yaml/yaml . If you're looking for a better YAML library, this one should be helpful. Why a new library? As of this writing, there already exists a de facto standard library for YAML processing for Go: https://github.com/go-yaml/yaml. However, we believe that a new YAML library is necessary for the following reasons: - Not actively maintained - go-yaml/yaml has ported the libyaml written in C to Go, so the source code is not written in Go style - There is a lot of content that cannot be parsed - YAML is often used for configuration, and it is common to include validation along with it. However, the errors in go-yaml/yaml are not intuitive, and it is difficult to provide meaningful validation errors - When creating tools that use YAML, there are cases where reversible transformation of YAML is required. However, to perform reversible transformations of content that includes Comments or Anchors/Aliases, manipulating the AST is the only option - Non-intuitive Marshaler / Unmarshaler By the way, libraries such as ghodss/yaml and sigs.k8s.io/yaml also depend on go-yaml/yaml, so if you are using these libraries, the same issues apply: they cannot parse things that go-yaml/yaml cannot parse, and they inherit many of the problems that go-yaml/yaml has. Features - No dependencies - A better parser than go-yaml/yaml . - Support recur","default_branch":null,"files":null,"tree":[],"storefront":"/r/goccy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/goccy/go-yaml/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}