JSON stands for JavaScript Object Notation. It is a lightweight data interchange format that is easy for humans to read and write, and easy for machines to parse and generate. JSON consists of key-value pairs and arrays, making it a versatile format for representing structured data.
Key Components of JSON:
Objects: Collections of key-value pairs enclosed in curly braces {} .
{
"name": "John Doe",
"age": 30
}
Arrays: Ordered lists of values enclosed in square brackets [] .