Don’t use single quotes in JSON

Recently, I used python to deal some JSON data.
When I used a python builtin module — json to extract a json format data (in my opinion), it reported this error:

json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes

You can try it by yourself:

import jsonjj = "{'a': 0}"
e = json.loads(jj)

The reason of error is : “single quote is not supported in JSON format”

you can see these 2 sentences in

Also you can see these synonymous sentences in W3C.

Just a little sharing.