📜  python解析单引号json - Javascript代码示例

📅  最后修改于: 2022-03-11 15:03:57.538000             🧑  作者: Mango

代码示例1
import json

# mixing single and double quotes
data = {'jsonKey': 'jsonValue',"title": "hello world"}

# get string with all double quotes
json_string = json.dumps(data)