3 ms·
The difference in speed of XML and JSON is not going to be a bottleneck to most applications. Of course, the small difference in parsing speed I'm sure matters
by wprl 13y ago
The difference in speed of XML and JSON is not going to be a bottleneck to most applications. Of course, the small difference in parsing speed I'm sure matters a lot to some people.
The major advantage of JSON is a readable syntax. XML tends to be overly verbose, and therefore not as easy to read.
JSON is more compact too, which matters when sending 1000s of objects across the wire.
- mindcrime 13y agoThe major advantage of JSON is a readable syntax. XML tends to be overly verbose, and therefore not as easy to read. That's pretty subjective. For example, I find XML to be far more human readable than JSON.