4 ms·
JSON is just a streamable as XML, if not more so. Customers demanding JSONp is not a good reason to not use JSON. So having dismissed your two points, I think
by aneth4 14y ago
JSON is just a streamable as XML, if not more so.
Customers demanding JSONp is not a good reason to not use JSON.
So having dismissed your two points, I think it's safe to say XML does not have any huge advantage over JSON. Certainly minor advantages, though those are of mixed value and often disadvantages.
- CJefferson 14y agoWhile in theory JSON might be just as streamable as XML, in practice I find every XML parser I have ever used supports streaming, and I have never seen a streaming JSON parser. Actually, having just googled I find a couple, but the only C one I can find (yajl) seems to be mostly abandoned, with a huge number of open issues.