I have a JSON file that has the following structure:
JSON
{ \"name\":[ { \"someKey\": \"\\n\\n some Value \" },
Parse the file using JSON:
import json file = file.replace('\n', '') # do your cleanup here data = json.loads(file)
then walk through the resulting data structure.