ToolerCat / JSON Formatter & Fixer / Bad escaped character in JSON

Bad escaped character in JSON

What the error means, why it happens and how to fix it in seconds.

Inside JSON strings a backslash starts an escape sequence. Allowed: \" \\ \/ \b \f \n \r \t \uXXXX. Windows paths like C:\temp must be written as C:\\temp. Raw line breaks inside strings must be written as \n.

Example of broken JSON:

{"path": "C:\temp\new", "note": "line one
line two"}

Open the JSON fixer →