Quick answer

In JSON, string values and keys must use double quotes.

JSON Single Quotes Not Allowed

In JSON, string values and keys must use double quotes. Single quotes are not valid for delimiting strings.

Common causes

How to fix

FAQ

Can I use single quotes in JSON?
No. The JSON spec allows only double quotes for strings.
What if my string contains double quotes?
Escape them: \" inside the string.

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical