xxxxxxxxxx
import json
try:
with open("equipment.json") as file:
data = json.load(file)
print("Equipment data has been successfully retrieved.")
except json.decoder.JSONDecodeError:
print("There was a problem accessing the equipment data.")