of

open fun <T> of(clazz: Class<T>): Serde<T>

Serialize/Deserialize class using the default object mapper.


open fun <T> of(mapper: ObjectMapper, clazz: Class<T>): Serde<T>

Serialize/Deserialize class using the provided object mapper.


open fun <T> of(typeReference: TypeReference<T>): Serde<T>
open fun <T> of(mapper: ObjectMapper, typeReference: TypeReference<T>): Serde<T>

Serialize/Deserialize TypeReference using the default object mapper.