String Indices Must Be Integers In Json
I am getting an Error in the by me created JSON by the message: string indices must be integers. I did read some topics on stackoverflow about this issue, but it is not clear for m
Solution 1:
Try this, You need to use json.loads
to bring it into right format(i.e., dictionary)
>>> data = json.loads(json_data)
>>> data['items']
'items' # your output
Post a Comment for "String Indices Must Be Integers In Json"