命令: python -m json.tool fileName 可以将fileName里的json字符串进行格式化。命令如下:
python -m json.tool C:\Users\kpx\Desktop\new1.tmp.txt