Why JSON required in place of XML?
In the web, every body wants to reduce the load of webpage while retrieving the data from the server. JSON is very faster and easy to transfer in the AJAX applications.
If we use XML language in AJAX, we have to fetch the XML file and do the loop entire document and store the values in the variables. It seems to be a very time cosuming to use. But in JSON just we are fetching the JSON object and eval() the JSON String.
See more JSON Tutorials