JSON(JavaScript Object Notation) vs XML(extensible Markup Language)
JSON is more compact, readable and is an open standard format that uses human-readable text. JSON transimission is much more faster than XML. It is easy to use with Java script.
XML is a markup language is both human-readable and machine-readable, it defines a set of rules for encoding documents in a format, it is also aiming usability across Internet. XML has more data and bulky and slower than JSON.
JSON got a very simple syntax and could be easily learned. But the XML format can be determined by the XML DTD or XML Schema. JSON has the data-exchange format which is getting more popular as it is more JavaScript applications possible format.