serialize

open fun serialize(value: T, gen: JsonGenerator, context: SerializationContext)