python中遇到的小坑记录

1.python不能处理null这样的特殊字符串。

数据如下:

{.........,”remark":null,"userIds":"P7Xc“.........}

报错如下:

NameError: name 'null' is not defined

解决办法:

直接上链接https://blog.csdn.net/onlyanyz/article/details/45745045

猜你喜欢

转载自www.cnblogs.com/qwl975/p/12422824.html