import json

a = {}
print(json.dumps(a, indent=1))
#indent=1代表字节点比父节点前多几个空格

posted on 2020-07-04 09:07  大话人生  阅读(705)  评论(0)    收藏  举报