What is JSON and why it is used?

JSON is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays. It is a common data format with diverse uses in electronic data interchange, including that of web applications with servers.

JSON (JavaScript Object Notation) is a lightweight data-interchange format that is easy for humans to read and write and easy 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 used to transmit data between a server and a web application, as an alternative to XML. JSON data is represented as key-value pairs similar to a dictionary in Python or an object in JavaScript, making it easy to work with in modern programming languages.

Comments

Leave a Reply