Aug-24-2018, 11:07 AM
In the dictionary you get back from JSON,there is a mix of dictionaries and list.
So use
So use
[0]
to access the dictionary inside list.>>> d = {"data":[{"name":"UVC G3 Dome"}]} >>> d['data'] [{'name': 'UVC G3 Dome'}] >>> d['data'][0]['name'] 'UVC G3 Dome'