36 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
"name" "Ada",36 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
"name" "Ada",JSON object syntax error
JSON object members follow the form "key": value. The checker above preloads a key and string value with the colon removed so the parser position shows where the object-member grammar becomes invalid. This tool is free to use. No account or payment is required.
Last updated
A colon belongs inside one object member between its name and value. A comma belongs between two complete members. Checking which boundary is broken prevents adding the wrong punctuation near the reported token.
If the key quotation mark is missing or the value is an unterminated string, inserting a colon alone will not repair the document. Use the error context to confirm the surrounding tokens first.
The quoted name key is followed directly by its string value.
{
"name" "Ada",
"active": true
}{
"name": "Ada",
"active": true
}Common questions
Inside an object member, the colon appears immediately after the quoted key and before its value: "key": value.
No. Colons connect keys to values, while commas separate complete object members or array items.
After reading a property name, the parser expects a colon. The following value is the first token that proves the required separator is missing.
Debugging a specific JSON issue? Browse JSON troubleshooting.