JJSONForge
Get JSONForge

JsonForge · JSON errors

Unterminated string in JSON

A string that is never closed, so the parser reaches the end of input still inside it.

The smallest input that causes it

{"a": "unclosed}

JSON.parse on that gives, verbatim:

Unterminated string in JSON at position 16 (line 1 column 17)

The fix

{"a": "unclosed"}

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