def serialize(self):
        result = []
        for dictionary, serializer in zip(self.messages, self.serializers):
            dictionary = dictionary.copy()
            serializer.serialize(dictionary)
            result.append(dictionary)
        return result
Serialize all written messages.
dataset/ETHPy150Open ClusterHQ/eliot/eliot/_output.py/MemoryLogger.serialize