@staticmethod
def value_decode(row: dict):
    '\n        Try to decode value of table\n        datetime.datetime-->string\n        datetime.date-->string\n        json str-->dict\n        :param row:\n        :return:\n        '
    for (k, v) in row.items():
        if isinstance(v, datetime.datetime):
            row[k] = v.strftime('%Y-%m-%d %H:%M:%S')
        elif isinstance(v, datetime.date):
            row[k] = v.strftime('%Y-%m-%d')
        elif isinstance(v, str):
            try:
                row[k] = json.loads(v)
            except ValueError:
                pass
Try to decode value of table
datetime.datetime-->string
datetime.date-->string
json str-->dict
:param row:
:return:
@staticmethod
def value_decode(row: dict):
    '\n        Try to decode value of table\n        datetime.datetime-->string\n        datetime.date-->string\n        json str-->dict\n        :param row:\n        :return:\n        '
    for (k, v) in row.items():
        if isinstance(v, datetime.datetime):
            row[k] = v.strftime('%Y-%m-%d %H:%M:%S')
        elif isinstance(v, datetime.date):
            row[k] = v.strftime('%Y-%m-%d')
        elif isinstance(v, str):
            try:
                row[k] = json.loads(v)
            except ValueError:
                pass