JJSONForge
Get JSONForge

JsonForge · JSON errors

Single quotes are not valid JSON

Single-quoted keys or strings. JSON permits double quotes only.

This is the usual result of pasting a Python dict or a JavaScript literal and expecting it to parse.

The smallest input that causes it

{'a': 1}

JSON.parse on that gives, verbatim:

Expected property name or '}' in JSON at position 1 (line 1 column 2)

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