E022Error
Object keys must be quoted
An object key was written without double quotes.
What it means
In JSON every object key is a double-quoted string. Unquoted keys (and numeric keys) are valid in JavaScript object literals and JSON5, but not in JSON.
Example
Invalid
{ name: "Ada" }Valid
{ "name": "Ada" }How to fix it
Wrap the key in 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.