import codes
import json
def write_json(self,result,json_name):
with codecs.open(json_name, "w", "utf-8") as f:
j = json.dumps(result, indent=4, ensure_ascii=False)
f.write(j)
2021-10-24 14:39:40
import codes
import json
def write_json(self,result,json_name):
with codecs.open(json_name, "w", "utf-8") as f:
j = json.dumps(result, indent=4, ensure_ascii=False)
f.write(j)