To avoid that error, the json module offers two ways to serialize ... def to_serializable(val): if isinstance(val, datetime): return ...
確定! 回上一頁