how to take value from a json python code example
Example 1: get value json python
print(json_object_string)
OUTPUT
{"id":"20", "name":"Bob"}
json_object = json.loads(json_object_string)
print(json_object["name"])
OUTPUT
Bob
Example 2: python get value from json
for key, value in data.items():
print key, value