JSON 格式

Python 字典变成JSON 格式美化

thejson = json.dumps(the_dict,ensure_ascii=False, sort_keys=False, indent=4, separators=(',', ':'))
原文地址:https://www.cnblogs.com/liuluopeng/p/12620200.html