kotlinx-serialization / kotlinx.serialization.modules / overwriteWith

overwriteWith

(common, js, jvm, native) infix fun SerialModule.overwriteWith(other: SerialModule): SerialModule

Returns a combination of two serial modules

If serializer for some class presents in both modules, result module will contain serializer from other module.