I use the json module and the dumps method to obtain a string which represents a list of json objects :
import json
jsonstring = json.dumps(data)
I would like to iterate over this string to obtain each JSON object as a string.
Any suggestions?
Thanks in advance.
P.S. I have tried the following:
for jsonobject in jsonstring:
print jsonobject
But what happens is that each single letter is printed separately rather than the jsonobject as a whole.