2020-01-20 15:19:53 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
|
2020-01-20 16:03:59 +00:00
|
|
|
class AbstractSerializer(object):
|
2020-01-20 15:19:53 +00:00
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
super(AbstractSerializer, self).__init__()
|
|
|
|
|
|
|
|
def decode(self, s, **kwargs):
|
|
|
|
pass
|
|
|
|
|
|
|
|
def encode(self, d, **kwargs):
|
|
|
|
pass
|