Re:RFC 9512: YAML Media Type
by meowface on Wednesday February 21, 2024 @10:39AM
(#39455125)
StrictYAML provides a subset of YAML without the annoying footguns: https://hitchdev.com/strictyaml/features-removed/
[ Parent
| on HN ]
Oh, how I wish we could get an RFC for that instead.
indeed, would be a good idea
YAML 1.2 addresses several of those:
- Duplicate keys are not allowed
- The fallback schema gives you no Implicit Typing and Direct representations of objects for free (the former explicity, the latter by restricting which tags are allowed). Schemata in general allow for doing the "right thing" for your domain more easily.