python json loads encode code example Example: json load import json with open('path_to_file/person.json') as f: data = json.load(f)