Open the JSON file

with open('data.json', 'r') as file: # Load the content of the file into a Python dictionary data = json.load(file)