实现json保存时遇到中括号自动换行
with open(output_file_path, "w") as out_json:
json.dump(output_json, out_json, indent=1)
json保存时中文乱码解决办法
with open(output_file_path, "w", encoding="utf-8") as out_json:
json.dump(output_json, out_json, indent=1, ensure_ascii=False)