welcome to my blog 问题描述: 使用json.dump(dict,f)时报错, Object of type int32 is not JSON serializable 问题原因:json不能序列化int32类型的数据 解决方法: 将相关的数据转成float类型即可