Parsing JSON with Python
Using the json Library The loads method in the json library returns a dictionary for anything in curly brackets and a list for anything in square brackets. The following code shows interaction with dictionaries. import json data = '''{ "name": "John", "phone": { "type": "intl", "number": "+1 111 222 3333" }, "email": { "hide": "yes"