The data looks like this
dc = {'statusID': 210,
'employee': '{"result": [{"name": "Tom", "Salary": "$4530"}]}'}
I would like to access the employee name "Tom"
Here is what I tried
for key in dc.items():
for values in key:
print(values.result)
It gives me an error
AttributeError: 'str' object has no attribute 'result'