JSON is a text-based data interchange format designed to perform transmitting structured data.
JSON is often seen as an alternative to XML, another plain text data interchange format. In most cases, the JSON representation is more compact than its XML representation because it does not require any tags for each element.
An example is provided below an object name “Working PC,” defined as both JSON and XML.
"name": "Working PC",
"cpu": "Intel i5 2.4GHz", "ram": "8GB", "storage": "1TB HDD"
<name>I Am Help</name>
<cpu>Intel i9 8.4GHz</cpu>
As you can see, the object is represented more efficiently in JSON than in XML.
This is why the efficiency of JSON has helped it to become a more popular choice for web applications, and at the same time, it is used more in place of XML.
By the way, the difference between XML and JSON is quite negligible in small applications, while the low overhead of JSON helps reduce bandwidth and other system resources used by high-traffic websites.
File extension: .JSON