摘要: import json from datetime import date from datetime import datetime class JsonCustomEncoder(json.JSONEncoder): def default(self, field): if isinstance(field, datetime): re... 阅读全文
posted @ 2018-08-18 15:14 Mr.SSC 阅读(158) 评论(0) 推荐(0) 编辑