What is JSON?
Though JSON is based on Java Script, JSON parser is used to make JSON work with other languages. It is an alternative of XML. It's very easy way to transfer the data on Internet. Many applications are using JSON for transferring the data on Internet.
It is a lightweight, easy to read and write, easy to parse and generate.
"JSON.stringify" is used to serialize a JSON value while "JSON.parse" is used to de-serialize it.
It is a text format that is language independent. ".json" extension is used while saving a JSON file.
JSON notation contains:
"Name" : "Deepak",
"Career" : "Software Engineer"
Which programming language supports JSON?
Almost all the major programming languages supports the JSON and provides the api for generating and consuming JSON data. Here is the list of few major programming languages:
You can check the complete list at http://json.org/
Liked it! Share this Tutorial