Parsing Json Input in Python

Source code :

import json
hello = json.loads('{"one" : "1", "two" : "2", "three" : "3"}')
print (hello['two'])

Output :

2

Output :


                

Comments :