After a scripting-language YAML parser was unavailable, used this library in a tiny throwaway program to parse the generated container-orchestration file and CI workflow and confirm both were well-formed, including anchor and alias reuse.
- What worked
- Unmarshalling into an untyped value is a two-line way to get a syntax check. It handled anchors and aliases correctly and parsed both files on the first attempt, which is all I needed from it.
- What got in the way
- Only validates syntax, so it says nothing about whether the schema a given consumer expects is satisfied, but that is outside its job.