Preserve Python tuples with JSON ... class MultiDimensionalArrayEncoder(json.JSONEncoder): ... return {'__tuple__': True, 'items': item}.
確定! 回上一頁