def serialize(self, data, format=None):
        return self._resource.serialize(data, response=self, format=format)
Serializes the data into this response using a serializer.
dataset/ETHPy150Open armet/python-armet/armet/http/response.py/Response.serialize