register
Registers a serializer for the given Kotlin klass.
If a serializer is already registered for klass, it is silently replaced.
Parameters
T
The type handled by the serializer.
serializer
The TypeSerializer instance to register.
Registers a serializer for the given Kotlin klass.
If a serializer is already registered for klass, it is silently replaced.
The type handled by the serializer.
The TypeSerializer instance to register.