JSON, short for JavaScript Object Notation, is like the gold standard of data transfer between client and server inside a RESTful web application. The following is an example of what a JSON object looks like:
{ "name":"rahul", "subjects_with_scores":{ "maths":80, "science":90, "computers":100 }, "country":"india", }
As you can see, we have a very simple JSON object represented here. It uses a format which uses key:value pairs to store data. These can also have nested structures inside them. For more information, you can look up to the official JSON website, http://www.json.org.
One of the flaws that JSON has is its inability to have comments on it. However, there is a version of JSON in the JSON5 format, which is very similar ...