处理json字符串时含有null可能导致的问题 直接说原因:对json字符串中的null使用了len()函数求长度了,导致了object of type ‘NoneType’ has no len()。