📜  python 将 json 写入文件 utf8 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:43.003000             🧑  作者: Mango

代码示例2
with open('speechbase.json', 'w') as jsonfile:
    json.dump(DATA, jsonfile, indent = 4)