| ▲ | abustamam 2 days ago | |||||||
Thanks, that's interesting to know. Given that we have json schema now though, what reason would someone use XML over Json now? | ||||||||
| ▲ | deaddodo 2 days ago | parent [-] | |||||||
JSON Schema is largely an answer to people seeking that type of built-in validation. As I'm not a huge proponent for either (a tool is a tool and you work with it in its ecosystem), I don't have personal feelings on it's adequacy. But, I would suspect, proponents of XML would still point to it's deeper typing system, document structure (especially the hierarchical features of it), and extremely mature ecosystem + tooling (such as XSLTs) as reasons to prefer it over JSON w/ JSON Schema. | ||||||||
| ||||||||