JSON requires double quotes, not single quotes.
Section: Core syntax rules
Use double quotes for keys and strings
json
json
{
"theme": "dark"
}Explanation
`'theme': 'dark'` is valid in some JavaScript contexts but invalid 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 Core syntax rules