3 ms·
No, you also loose the attribute system and thus the ability extend existing elements without changing their structure. In addition, arrays must be indicated c
by titanix2 9y ago
No, you also loose the attribute system and thus the ability extend existing elements without changing their structure.
In addition, arrays must be indicated clearly in JSON while you can consider children of an xml nodes to always form a list (be it empty or containing one element).
So while the two format are very similar, there is still some differences that doesn’t make them interchangeable for every usecase.