def write_json_file(filename, path, result):
"""Writes the result to json with the given filename.
Args:
filename (str): Filename to write to.
path (str): Directory path to use.
"""
with open(path + filename + ".json", "w+") as json_file:
ujson.dump(result, json_file)
json_file.close()
评论列表
文章目录