Bare identifiers are invalid in JSON.
Section: Common parse failures
Object keys must be quoted
json
json
{ "enabled": true }Explanation
`{ enabled: true }` is valid in some JavaScript objects but not in JSON.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Common parse failures
Raw newlines inside strings are invalid
Use `\n` rather than an actual line break inside a string literal.
Rewrite valid JSON in normalized form
Read and immediately re-emit clean JSON.