会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
xiaojinniu425
博客园
首页
新随笔
联系
订阅
管理
2017年5月17日
解决python中转化成json的方法不能序列化datetime类型数据(转)
摘要: Python自带的json.dumps方法序列化数据时候如果格式化的数据中有datetime类型数据时候会提示错误TypeError: datetime.datetime(2012, 12, 12, 15, 47, 15) is not JSON serializable 搜索出来的解决方案基本都是
阅读全文
posted @ 2017-05-17 11:44 xiaojinniu425
阅读(621)
评论(0)
推荐(0)
编辑
公告