3 ms·
Ever since YAML 1.2, released in 2009(!), your YAML example would parse your input as “is yaml robust” for the key, and “no” for the value.
by Diti 2y ago
Ever since YAML 1.2, released in 2009(!), your YAML example would parse your input as “is yaml robust” for the key, and “no” for the value.
- yencabulator 2y agoNo, it wouldn't ;) Extra hint: scandinavian countries: - dk - no - se Edit: it's extremely unlikely a yaml parser implements that spec; the spec is irrelevant.
- Dylan16807 2y agoOkay, I originally didn't respond, but your comment got upvoted out of gray so I'll put in the effort. Your claim of "No, it wouldn't" is simply wrong. They said "since 1.2" and you can't just ignore that when you're citing a 1.1 problem. The disclaimer that you edited in gets at a relevant point but it's not strong enough to make your claim actually be true. And the winky face and the "hint" just make things worse, since they knew exactly what you meant.
- Dylan16807 2y agoI used to think that fixed things, then I learned how many parsers refuse to update. Like PyYAML.