Re:XML Can Give the Same Performance as JSON
by zanny on Thursday August 15, 2013 @10:51AM
(#6218119)
You mean yaml?
[ Parent
| on HN ]
Re:XML Can Give the Same Performance as JSON
by Mindless2112 on Thursday August 15, 2013 @12:09PM
(#6218729)
Indeed, YAML is a more powerful serialization format than JSON.
The original name (Yet Another Markup Language) threw me off, so I never seriously considered using it. Even its Wikipedia article is in the "Markup languages" category.
My general guidance is:
Yaml for configuration files/things people touch
XML for documents that are complex/nested, that need extra validation, or need to be stored for longer than a few days
JSON for ephemeral data structures passed between two controlled endpoints