list to json
def list_to_json(a_list:list, json_path:str):
json_data = json.dumps(a_list, indent=4)
with open(json_path,"w",encoding = 'utf-8') as file:
file.write(json_data)
list to json
def list_to_json(a_list:list, json_path:str):
json_data = json.dumps(a_list, indent=4)
with open(json_path,"w",encoding = 'utf-8') as file:
file.write(json_data)