1、在使用json.dumps()的时候报错,TypeError: Object of type int64 is not JSON serializable
原因:param = {“name”:“james”,“age”:38},38没有改为字符串
解决:“age”:38改为"age":str(38)
python报错
最新推荐文章于 2023-09-19 22:56:37 发布
1、在使用json.dumps()的时候报错,TypeError: Object of type int64 is not JSON serializable
原因:param = {“name”:“james”,“age”:38},38没有改为字符串
解决:“age”:38改为"age":str(38)