import json
with open('data.json','r',encoding="utf-8-sig", errors="ignore") as f:
content = json.load(f)
print(content)
参考链接:
https://blog.csdn.net/ShuMihu/article/details/124297867
import json
with open('data.json','r',encoding="utf-8-sig", errors="ignore") as f:
content = json.load(f)
print(content)
参考链接:
https://blog.csdn.net/ShuMihu/article/details/124297867