1. XML is easier to understand than JSON
2. XML is markup language so it is used for hierachiecal element which can not be done in JSON
3. JSON is very simple and can easily be used for text format objects and its serialization.
4. XML used too much bandwidth than JSON
5. JSON is used widely on Web coz its easier to parse from JavaScript as JSON stands for JavaScript Object Notation but to the same for XML with JavaScript it requires to use different library.
0 comments:
Post a Comment