in route.py [0:0]
def read_json_file(file_path):
try:
with open(file_path, 'r', encoding='utf-8-sig') as file:
data = json.load(file)
return data
except Exception as e:
print("="*10,e)
return None