📜  如何在写入json文件python中写入uft-8 - Javascript代码示例

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

代码示例1
with open("example.json","w", encoding='utf-8') as jsonfile:
        json.dump(data,jsonfile,ensure_ascii=False)