in dlp_templates/create_template.py [0:0]
def load_json(file_path):
try:
with open(file_path, 'r') as file:
return json.load(file)
except Exception as e:
print(f"Failed to load JSON file: {e}")
return None