The advantages of JSON over XML are:
JSON is lighter and faster than XML.
It is easily understandable.
It is easy to parse and convert to objects for information consumption.
JSON supports multiple data types—string, number, array, or Boolean—but XML data are all strings.
[blog_you_may_like]