__class__.__name__ raise TypeError(f"Object of type {type_name} is not serializable"). We could also achieve this by subclassing json.JSONEncoder.
確定! 回上一頁