使用自定的序列化函數def my_json_encode(o): #print type(o) if isinstance(o, T1): return o.value return json.JSONEncoder.default(self ...
確定! 回上一頁