E016Error

Unescaped control character in string

A raw control character (tab, newline, etc.) appears inside a string.

What it means

Characters below U+0020 — literal tabs, newlines, and other control codes — are not allowed inside JSON strings. They must be written as escapes such as \t or \n.

Example

Invalid
{ "note": "line1<TAB>line2" }
Valid
{ "note": "line1\tline2" }

How to fix it

Replace the raw control character with its escape (\t, \n, \u0000-style, …).

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.