The lost art of XML

14 points by schonfinkel


dutchie

Some of the issues (schemas, namespaces, self-description) are solved by JSON-LD. You don't even really need to fully understand all of the semantics side of things, it's still syntactically just JSON in the end.

I think it does make some good points about XML's awkward syntax and historically being associated with unpleasant systems - binary formats are not something I've used much, but s-expression representations make it a lot more enjoyable to work with (from Lisp at least). And the separation of the data model and encoding format is definitely something that is weak in JSON.

conartist6

The reason JSON lacks comments is not that would make the parser more complex, it's that it would add confusion about what data means. They would inevitably start to be used as annotations which change the meaning of the document, and that's why JSON, being meant as a machine communication format, lacks them.