36 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
"active": true36 chars · 4 lines
Two-way sync · Edit either side and the other updates automatically.
"active": trueJSON object separator error
Once an object property value is complete, the grammar has only two valid next steps: separate another property with a comma or finish the object with }. A following property name without a comma is a common cause. This tool is free to use. No account or payment is required.
Last updated
A parser frequently points at the next quoted property name because that is where it discovers the previous value was not followed by a legal separator.
If the earlier string, array, or object is incomplete, inserting a comma may only move the parser error. Confirm that the preceding value is syntactically complete first.
The name property is complete, but the active property begins without a comma separator.
{
"name": "Ada"
"active": true
}{
"name": "Ada",
"active": true
}Common questions
Usually between the previous complete value and the next property name. Confirm that the previous value is complete before inserting it.
Yes. If the previous value never closes correctly, the parser may reach the next token while still expecting the earlier value to finish.
No. JSON requires commas only between members, not after the final property.
Debugging a specific JSON issue? Browse JSON troubleshooting.