阅读背景:

有没有一种简单的方法来检查对象是否在python中是可序列化的?

来源:互联网 

I was trying to check if objects were JSON serializable or not because I had a dictionary that had a bunch of things and at this point its just easier to loop through its keys and find if they are JSON serializable and remove them. Something like (though this checks if its function):I was trying to check if objects were JSON seri




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: