Skip to content Skip to sidebar Skip to footer

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

for key, value in jdata.iteritems():
    print key, value

You can read the document here: dict.iteritems


Solution 2:


Post a Comment for "Parsing JSON String/object In Python"