deserializeWith<T> abstract method

T? deserializeWith<T>(
  1. Serializer<T> serializer,
  2. Object? serialized
)

Convenience method for when you know the type you're deserializing. Specify the type by specifying its Serializer class. Equivalent to calling deserialize with a specifiedType.

Implementation

T? deserializeWith<T>(Serializer<T> serializer, Object? serialized);