What is JSON?
It is human-readable.
It is easily readable by machines.
It’s like XML, but was designed to be lightweight instead of verbose like XML.
It uses two-key words, unlike XML which uses three-key words.
It does not require start or end tags.
It allows the grouping of data into objects and arrays.
It is language-independent, with implementations in many programming languages.
XML was designed for structured data storage and retrieval. It has mechanisms for defining lists and trees of data. However:
It doesn’t work very well for storing small amounts of information into individual objects. It can be verbose when used with small amounts of information into individual objects. XML uses terminologies that are not universally understood by everyone (e.g., what does “element” mean?). It can make simple data look unnecessarily complex. Some XML standards use a lot of unnecessary terminologies which make simple things look overly complicated.
Write a public review