5 views
All right, what is JSON?
Asked at
AI answer
JSON (JavaScript Object Notation) is a text-based data interchange format. It supports objects with key–value pairs, arrays, strings, numbers, Boolean values, and null. The format is programming-language-independent; JSON is often used in APIs.
{
"userId": 42,
"name": "Anna",
"active": true,
"tags": ["qa", "automation"]
}
In JSON, keys and string values are enclosed in double quotes. Comments and trailing commas are not allowed by the standard.