import json with open('file_to_load.json', 'r') as file: data = json.load(file)
>>> jstr = json.dumps(data, ensure_ascii=False, indent=4) >>> print(jstr) { "item": "Beer", "cost": "£4.00" }