YAML is not a superset of JSON
I keep forgetting, so here we go. Please let me know if you have any others!
Treatment of e.g. 1e2
JSON treats the value 1e2
a number, of course, because it’s not in quote marks.
YAML fails to parse it as a number so silently falls back to treating it as a string.
|
|
Tabs as indentation
YAML does not permit tabs to be used as indentation.
|
|