How is YAML a superset of JSON? never heard that claim before.
This YAML:
user:
name: Ted
is equivalent to this YAML: user: {"name": "Ted"}
which is equivalent to this YAML/JSON: {"user": {"name": "Ted"}}Basically take JSON, make quotes optional for strings and make curly brackets optional if the object is indented properly, and boom you've got (something like) YAML.