3 ms·
No, they aren't. From the YAML site [emphasis mine]: "YAML can therefore be viewed as a natural superset of JSON, offering improved human readability and a mor
by icebraining 11y ago
No, they aren't. From the YAML site [emphasis mine]:
"YAML can therefore be viewed as a natural superset of JSON, offering improved human readability and a more complete information model. This is also the case in practice; every JSON file is also a valid YAML file."
http://yaml.org/spec/1.2/spec.html#id2759572 http://yaml.org/spec/1.2/spec.html#id2759572
You can parse any JSON file using a YAML parser.
- robin_reala 11y agoI … OK, I recind my earlier statement! TIL :)