def serialize(self, serializer):
    '\n      Implements :func:`autobahn.wamp.interfaces.IMessage.serialize`\n      '
    if (not (serializer in self._serialized)):
        self._serialized[serializer] = serializer.serialize(self.marshal())
    return self._serialized[serializer]
Implements :func:`autobahn.wamp.interfaces.IMessage.serialize`
def serialize(self, serializer):
    '\n      \n      '
    if (not (serializer in self._serialized)):
        self._serialized[serializer] = serializer.serialize(self.marshal())
    return self._serialized[serializer]