registerer

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

Registers a custom serializer for the specified type.

This method allows you to associate a Serializer implementation with a specific Kotlin class type, enabling the configuration system to properly serialize and deserialize instances of that type.

Parameters

T

the type of the object to be serialized

type

the KClass representing the type to register the serializer for

serializer

the Serializer implementation to use for the specified type