How to extend json. ... I want to encode other Python data types to JSON. ... JSONEncoder): def default(self, obj): if isinstance(obj, complex): return ...
確定! 回上一頁