E010Error

Strings must use double quotes

A string was written with single quotes (').

What it means

JSON strings — both keys and values — must use double quotes. Single-quoted strings are valid in JavaScript and JSON5 but not in JSON or JSONC.

Example

Invalid
{ 'name': 'Ada' }
Valid
{ "name": "Ada" }

How to fix it

Replace single quotes with double quotes.

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.