python-benedict/benedict/serializers/abstract.py

14 lines
234 B
Python
Raw Normal View History

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