Files
feedcrawler/src/utilities/serializer.py
2014-06-06 10:52:00 +02:00

14 lines
417 B
Python

__author__ = 'stubbfel'
class Serializer():
def serialize(self, dict_object):
"""
method convert i dict to a string.
this method should be override by any subclasses
:param dict_object: object wich his to bee convert to a string
:return: rhe string reprasention of the dict_object
"""
assert isinstance(dict_object, dict)
return str(dict_object)