def __init__()

in atomresponder/atom_message.py [0:0]


    def __init__(self, jsonstring):
        """
        Initialises an instance with the data parsed from the given json string.
        Raises json exceptions if this is not valid.
        :param jsonstring:
        """
        if not isinstance(jsonstring,str):
            raise TypeError

        self._content = json.loads(jsonstring)