A JSON file (which stands for JavaScript Object Notation) is a simple text format used to store data in a structured way, using key-value pairs.
It’s widely used for sharing information between a server and a web application, or between different programs.
Here’s a tiny example of what a JSON file might look like:
{
“name”: “Alice”,
“age”: 25,
“city”: “New York”
}
Keys are things like “name”, “age”, and “city”.
Values are “Alice”, 25, and “New York”.
JSON files are typically saved with a .json extension (for example, data.json).