jsontools Usage from jsontools import jsontools data = jsontools.json_parse(filepath) jsontools.pretty_print(data)