yaml
YAML support for the Go language. (by go-yaml)
yamlkeys
Support complex keys when decoding YAML in Go (by tliron)
yaml | yamlkeys | |
---|---|---|
14 | 1 | |
6,709 | 4 | |
0.6% | - | |
0.0 | 0.0 | |
13 days ago | almost 2 years ago | |
Go | Go | |
GNU General Public License v3.0 or later | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
yaml
Posts with mentions or reviews of yaml.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-30.
-
Use YAML if you want comment in JSON
For the last six years I've primarily been coding in Golang. Primarily against k8s. It is painful that the defacto YAML library for Go (https://github.com/go-yaml/yaml) is neither a YAML 1.1 nor a YAML 1.2 encoder/decoder.
-
Replace a line in a file
Technically that qualifies as yaml, so you could maybe use go-yaml/yaml
- Is gopkg.in down?
- Major Version Numbers are Not Sacred
- Not able to convert a yaml into golang struct
-
New to GoLang, how can i iterate through a YAML Object?
Is it possible to replicate this (or something on those lines) in GoLang? I've tried go-yaml 3.0.0 but i've got no luck. I've gotten something with go-gypsy 1.0.0 (as seen below) but i was not able to use it...
-
yamlkeys: parse real YAML without choking
Unfortunately, all Go YAML parsers that I know of, including the most commonly used go-yaml (originally created by Canonical), will choke when you try to parse such YAML into interface{}, because they try to force it into a Go map, which has many limitations on keys. And you cannot unmarshal it into ny Go map, either, for the same reason.
-
Is go-yaml/yaml still maintained?
I see if you go to the project page with no parameters, Github presents you the v2 branch. Be sure to check out the v3 branch, which I've been using. It allows better access to the parse tree during unmarshaling, and I've used it to good effect. For instance, I have a "notification" unmarshaler that allows you to do either:
-
Generate YAML files in Golang.
This is post is about converting go struct/map into a yaml using this amazing go package go-yaml
- How to compare 2 yaml files in go?
yamlkeys
Posts with mentions or reviews of yamlkeys.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-07.
-
yamlkeys: parse real YAML without choking
So, I created this library, yamlkeys, which will not choke, and in fact give you some tools to work with complex keys. The library involves some trade offs, but that's the way the cookie crumbles. I welcome attempts at alternate solutions (I include some ideas in the README).
What are some alternatives?
When comparing yaml and yamlkeys you can also consider the following projects:
dyff - /ˈdʏf/ - diff tool for YAML files, and sometimes JSON
go-yaml - YAML support for the Go language
cue - CUE has moved to https://github.com/cue-lang/cue
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
gojsonschema - An implementation of JSON Schema, draft v4 v6 & v7 - Go language
logo - Logo for Gin web framework
GORM - The fantastic ORM library for Golang, aims to be developer friendly