TechBubbles Microsoft Technology BLOG



This post explains the JSON Advantages over XML. JSON is more compact. Consider the following XML data


The above example contains three employees information where <empinfo> and <employees> elements help us to understand the overall structure and meaning of the information.

Consider the same information formatted as JSON:


In JSON formatted data closing tags aren’t necessary to match opening tags which reduces the number of bytes needed to transmit the same information. JSON data is 210 bytes, where as comparable XML data is 325 bytes saving more than 100 bytes.

The disadvantage to JSON-formatted data as compared to XML is far less readable to naked eye.

Technorati Tags: ,

Share this post :

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

1 Comment

TechBubbles Microsoft Technology BLOG

Follow me


Tag Cloud