How does JSON compare to XML in terms of file size and serialisation/deserialisation time?
Posted
by nbolton
on Stack Overflow
See other posts from Stack Overflow
or by nbolton
Published on 2010-04-20T07:35:20Z
Indexed on
2010/04/22
1:33 UTC
Read the original article
Hit count: 220
I have an application that performs a little slow over the internet due to bandwidth reasons. I have enabled GZip which has improved download time by a significant amout, but I was also considering whether or not I could switch from XML to JSON in order to squeeze out that last bit of performance. Would using JSON make the message size significantly smaller, or just somewhat smaller? Let's say we're talking about 250kB of XML data (which compresses to 30kB).
© Stack Overflow or respective owner