E013Error

Unterminated string

A string was opened but never closed.

What it means

Every opening double quote needs a matching closing quote on the same line. A missing closing quote — or a line break inside the string — leaves it unterminated.

Example

Invalid
{ "greeting": "hello }
Valid
{ "greeting": "hello" }

How to fix it

Add the closing double quote (and escape any real line breaks as \n).

Validate your JSON to see this and every other issue highlighted in one pass.


Diagnostics on this page come from @jsonlint/core, the open-source engine that powers the JSONLint validator. Install it with npm install @jsonlint/core.