tags:

views:

203

answers:

2
for jr in json_reports:
  jr['time_created'] = str(jr['time_created'])
+10  A: 

Looks to me that you're already there

Steef
+4  A: 

That would be the pythonic way to write the loop if you need to assign it to the same list.

If you just want to pull out strings of all time_created indices in each element of json_reports, you can use a list comprehension:

strings = [str(i['time_created']) for i in json_reports]
Fragsworth