SerializersModule

inline fun SerializersModule(builderAction: SerializersModuleBuilder.() -> Unit): SerializersModule

A builder function for creating a SerializersModule. Serializers can be added via SerializersModuleBuilder.contextual or SerializersModuleBuilder.polymorphic. Since SerializersModuleBuilder also implements SerialModuleCollector, it is possible to copy whole another module to this builder with SerializersModule.dumpTo