3 ms·
It just is: Any valid JSON is valid YAML with the same semantics. It was intentionally designed that way (though not from the start iirc). Basically take JSON,
by NoThisIsMe 5y ago
It just is: Any valid JSON is valid YAML with the same semantics. It was intentionally designed that way (though not from the start iirc).
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.
- yuuu 5y agoIf all JSON is YAML but not all YAML is JSON, then YAML is a superset of JSON.