import json, sys with open(sys.argv[1], "rt") as fin: for line in fin: data = json.loads(line) print(json.dumps(data, ensure_ascii=False))