Hacker News new | ask | show | jobs
by gh02t 1209 days ago
Out of curiosity, do you know any tools that can't use JSON but can use YAML? JSON is supposed to be valid YAML.
1 comments

Every YAML parser supports JSON (maybe modulo a couple of weird Unicode chars), but YAML also has features (tags, start/end document) that you can’t express in JSON, so it depends on whether the tool relies on seeing those.