Open and read the JSON file (2)

with open('data.json', 'r') as file: data = json.load(file)

print(data) ```

Common Approaches

1. Read as a dictionary/list (most common) ```python import json

with open('data.json', 'r') as file: data = json.load(file) # Returns a Python dict or list