Represents SerializerMiddleware.
new SerializerMiddleware(): SerializerMiddleware<DeserializedType, SerializedType, Context>
Returns:
SerializerMiddleware<DeserializedType, SerializedType, Context>serializerMiddleware.deserialize(data, context): DeserializedType | Promise<DeserializedType>
Attributes
Restores this instance from the provided deserializer context.
serializerMiddleware.serialize(data, context): SerializedType | Promise<SerializedType> | null
Attributes
Serializes this instance into the provided serializer context.