data['result']['results']
is an array so you can’t do ['name']
you need an int, you could add [0]
after['results']
and it should work. Then you can reference keys within the object in results
.
More Related Contents:
- How to overcome “datetime.datetime not JSON serializable”?
- Loading and parsing a JSON file with multiple JSON objects
- Python json.loads shows ValueError: Extra data
- Making object JSON serializable with regular encoder
- UnicodeDecodeError: ‘utf8’ codec can’t decode byte 0xa5 in position 0: invalid start byte
- Efficient way to unnest (explode) multiple list columns in a pandas DataFrame
- HTTP requests and JSON parsing in Python
- Convert Pandas Dataframe to nested JSON
- TypeError: ObjectId(”) is not JSON serializable
- Pandas read nested json
- ‘module’ object has no attribute ‘loads’ while parsing JSON using python
- Python json parser allow duplicate keys
- How to extract a single value from JSON response?
- How can I access the nested data in this complex JSON, which includes another JSON document as one of the strings?
- Loading initial data with Django 1.7 and data migrations
- Accessing JSON elements
- Python load json file with UTF-8 BOM header
- Loading JSONL file as JSON objects
- What is the difference between json.load() and json.loads() functions
- TypeError: unhashable type: ‘dict’, when dict used as a key for another dict [duplicate]
- Why do I get an error “‘unicode’ object does not support item deletion” when trying to delete values from a JSON object?
- Convert a HTML Table to JSON
- python: read json and loop dictionary
- pandas.io.json.json_normalize with very nested json
- How to convert a list of numbers to jsonarray in Python
- How can I parse JSON in Google App Engine?
- How to completely traverse a complex dictionary of unknown depth?
- _corrupt_record error when reading a JSON file into Spark
- Keep a datetime.date in ‘yyyy-mm-dd’ format when using Flask’s jsonify
- Why do I get an error “‘str’ object does not support item deletion” when trying to delete values from a JSON object?