JJSONForge
Get JSONForge

JsonForge · JSON errors

Expected double-quoted property name in JSON

A trailing comma. JSON allows no comma after the last member of an object or array, unlike JavaScript object literals.

The smallest input that causes it

{"a": 1,}

JSON.parse on that gives, verbatim:

Expected double-quoted property name in JSON at position 8 (line 1 column 9)

The fix

{"a": 1}

That version parses.

Find it in your own document

Paste the JSON and get the error located by line and column, the document formatted, a schema inferred from it, and a diff against another version.

Open JsonForge

Other JSON errors