Can't we let this format die? It's both hard for human to format correctly, and for library creator to make a compliant parser.
Can't we let this format die? It's both hard for human to format correctly, and for library creator to make a compliant parser.
It is actually very easy to format correctly, unless you don't understand the format. While it may challenging to make a compliant parser, many exists for multiple languages.
JSON isn't a viable replacement.. TOML doesn't support root level lists and has its own set of challenges and is a lot more ugly and difficult to understand for complex nested structures.
If you want to kill YAML then replace it with HCL.
I only ever deal with it by writing what I need in YAML and running a converter.
No beef against those that love it, my brain just can't handle it.
Bonus points for mis-editing a kube object (kubectl edit) that you save correctly only to realize that mis-formatted YAML can get thrown away without reporting an error back (looking at you Istio).
And yet people choose it again and again for new projects. Someone must love it given the popularity...