registerSerializer

inline fun <T : Any> registerSerializer(serializer: Serializer<T>)
fun <T : Any> registerSerializer(type: KClass<T>, serializer: Serializer<T>)