Parsing Json String/object In Python
I've recently started working with JSON in python. Now I'm passing a JSON string to Python(Django) through a post request. Now I want to parse/iterate of that data. But I can't fin
Solution 1:
To iterate key and value, you can write
forkey, value in jdata.iteritems():
print key, value
You can read the document here: dict.iteritems
Post a Comment for "Parsing Json String/object In Python"