6 points · by dekayed · 13y ago · 1 comment
YAML syntax supports user-defined types, JSON doesn't. Of course, nobody thinking straight would deserialize unsafe objects, so it's practical to think of both JSON and YAML generally as data serialization formats and nothing more.