setDeserializer

abstract fun setDeserializer(type: String, deserializer: DeserializationStrategy<out Any>)

Register a deserializer for a specific event type.

Parameters

type

The key used to designate this type on the json object.

deserializer

Deserializer used for events of type