Slide 16
Slide 16 text
@KeithResar
YAML ⊇ JSON
JSON's RFC4627 requires that mappings keys merely
“SHOULD” be unique, while YAML insists they “MUST” be.
Technically, YAML therefore complies with the JSON spec,
choosing to treat duplicates as an error.
In practice, since JSON is silent on the semantics of such
duplicates, the only portable JSON files are those with
unique keys, which are therefore valid YAML files.