Jarvis0525/ai-task-allocator
0
1import json2 3def load_data(file_path):4 """Loads employee data from a JSON file."""5 with open(file_path, "r", encoding="utf-8") as file:6 return json.load(file)7 8def save_data(file_path, data):9 """Saves employee data to a JSON file."""10 with open(file_path, "w", encoding="utf-8") as file:11 json.dump(data, file, indent=4)12 