When restaurants
is your list, you have to iterate over this key:
for restaurant in data['restaurants']:
print restaurant['restaurant']['name']
Related Contents:
- How to make a class JSON serializable
- Split / Explode a column of dictionaries into separate columns with pandas
- JSONDecodeError: Expecting value: line 1 column 1 (char 0)
- Python json.loads shows ValueError: Extra data
- Efficient way to unnest (explode) multiple list columns in a pandas DataFrame
- Converting dictionary to JSON
- How to POST JSON data with Python Requests?
- Converting JSON String to Dictionary Not List
- Python: json.loads returns items prefixing with ‘u’
- Serializing class instance to JSON
- Convert Pandas Dataframe to nested JSON
- How to implement custom indentation when pretty-printing with the JSON module?
- recursive iteration through nested json for specific key in python
- How do I use the ‘json’ module to read in one JSON object at a time?
- ‘module’ object has no attribute ‘loads’ while parsing JSON using python
- How to convert CSV file to multiline JSON?
- How I can I lazily read multiple JSON values from a file/stream in Python?
- Python read JSON file and modify
- How do I automatically fix an invalid JSON string?
- Pickle or json?
- Getting values from JSON using Python
- Loading initial data with Django 1.7 and data migrations
- How can I access the nested data in this complex JSON, which includes another JSON document as one of the strings?
- How to flatten a nested JSON recursively, with flatten_json
- Python Accessing Nested JSON Data [duplicate]
- How to find a particular JSON value by key?
- How to get JSON from webpage into Python script
- Saving UTF-8 texts with json.dumps as UTF-8, not as a \u escape sequence
- Convert numpy type to python
- Opening A large JSON file
- Django REST Framework POST nested objects
- Difference between data and json parameters in python requests package
- How to remove whitespaces and newlines from every value in a JSON file?
- How do I send a POST request as a JSON?
- Python json.loads fails with `ValueError: Invalid control character at: line 1 column 33 (char 33)`
- TypeError: unhashable type: ‘dict’, when dict used as a key for another dict [duplicate]
- How can I extract a single value from a nested data structure (such as from parsing JSON)?
- FastAPI is very slow in returning a large amount of JSON data
- Handle JSON Decode Error when nothing returned
- How can I parse JSON in Google App Engine?
- urllib2 and json
- flattening nested Json in pandas data frame
- Convert a HTML Table to JSON
- How to dynamically build a JSON object?
- _corrupt_record error when reading a JSON file into Spark
- How to convert csv to json in python?
- How convert a jpeg image into json file in Google machine learning
- OpenAI GPT-3 API error: “Cannot specify both model and engine”
- How do I check if a string is valid JSON in Python?
- How to convert XML to JSON in Python? [duplicate]