Open the file and load its contents (2) Open the file and load its contents (2) with open('data.json', 'r', encoding='utf-8') as file: data = json.load(file)