JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write and for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition – December 1999. JSON is a text format that is completely language-independent but uses conventions familiar to programmers of the C family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.
JSON represents simple data structures and objects, such as lists, dictionaries, and key-value pairs, in a format that is easy for machines to process. It is commonly used to transmit data between a server and a web application as an alternative to XML. JSON data is a collection of key-value pairs, where each key is a string, and the value can be a string, number, boolean, array, or another JSON object.
Example of JSON data that represents a person:
JSON is easy for humans to read and write and for machines to parse and generate. It is also less verbose and less cluttered than XML. As a result, it is commonly used with JavaScript and is supported by most modern web browsers and many other platforms and programming languages.
Also, See: jQuery