|
|
1
104
输出:
这种方法需要注意的是,有些东西不能通过JSON序列化。如果dict包含类或函数之类的不可序列化项,则需要一些额外的代码。 |
|
|
2
40
使用pprint
玩转pprint格式,你可以得到想要的结果。 |
|
|
3
6
输出:
|