JSON is normally utilized to exchange information between web clients and web servers.
JSON is usually used to exchange data in web applications (for example. sending some data from the client to the server, so it can be shown on a web page, or vice versa). It is something that comes across quite often.
A JSON string can be stored in its own file, which is just a normal text file with an extension of .json, and a MIME type of application/JSON.
From web to mobile and personal computers, almost all computer applications that are known today rely on one of two principal standards: JSON and XML. Today, JSON is the most widely-used format, but it only overtook XML in the last five years.
Developer communities insist that JSON became more popular than XML because of its concise declarative scope and simple semantics that are part of it instead of other reasons.
JSON has been readily praised due to its simplicity and terse semantics, and XML is labeled as an old standard of the past due to its verbosity and seemingly excessive complexity that plagues its code. Many articles and blog posts offer a limited perspective when comparing JSON to XML, leading readers to believe that JSON is a replacement for XML.
As an example of JSON formatting, here we can see an array of three records: