# Import required module import json # Open and read JSON data from a file with open('data.json', 'r') as file: data = json.load(file)