会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Sungyou_Yu
热情,专注,积累
博客园
首页
新随笔
联系
订阅
管理
2014年5月22日
json.dump throwing “TypeError: {…} is not JSON serializable”
摘要: If it's a set type,then turn the set into listbefore serializing, or use a customdefaulthandler to do so:1 def set_default(obj):2 if isinstance(ob...
阅读全文
posted @ 2014-05-22 10:52 Sungyou_Yu
阅读(985)
评论(0)
推荐(0)
编辑
公告