DEV Community

Sathish K
Sathish K

Posted on

JSON

What is a JSON ?
JSON- JavaScript Object Notation.
A JSON file is a contains structured text in JavaScript Object Notation(JSON)format,a human readable,text-based format for storing
and transmitting data,primarily used for data exchange between a web server and a client.
How JSON Files Store Data ?
JSON files contain structured data in two primary forms:

Objects: Collections of unordered key-value pairs, enclosed in curly braces {}.

Arrays: Ordered lists of values, enclosed in square brackets [].

what are the uses of JSON ?
Data Exchange.
API.
Configuration file.

Why JSON is Popular ?
Simplicity.
Lightweight.
Wide Compatibility.

Top comments (0)