Having Trouble With Nested Python3 Dictionary
I am using the Service Now Rest API to retrieve information on a server which is being returned as a JSON response which I am decoding into a python3 dictionary so I can pull out s
Solution 1:
The value for key 'result'
is a list (notice the square brackets) with one item, try print(data['result'][0]['u_backup_pool'])
Post a Comment for "Having Trouble With Nested Python3 Dictionary"