def read_json(path):
"""return dict"""
with open(path,'r+')as f:
return json.load(f)
def write_json(path,data):
with open(path,"w+")as f:
json.dump(data,f,indent=2)
def read_json(path):
"""return dict"""
with open(path,'r+')as f:
return json.load(f)
def write_json(path,data):
with open(path,"w+")as f:
json.dump(data,f,indent=2)