Paste your JSON below and click "Validate" to check for syntax errors.
Please note: the validator will display one error at a time. Fix the issue, then click "Validate" again to check for any additional errors.
This section shows common syntax issues in JSONβand how to correct them.
{
"name": "Diana",
"email": "diana@example.com",
}
{
"name": "Diana",
"email": "diana@example.com"
}
This fails because of a trailing comma after the last key. JSON doesnβt allow trailing commas.
{
name: "Diana",
age: 30
}
{
"name": "Diana",
"age": 30
}
In JSON, all keys must be in double quotes. Without them, the parser throws an error.
{
"user": {
"firstName": "Diana",
"lastName": "Saasaa"
{
"user": {
"firstName": "Diana",
"lastName": "Saasaa"
}
}
This JSON is missing a closing brace. Every opening bracket must have a matching closing one.