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