Is there any difference between `1` and `2` in the...
# serialization
o
Is there any difference between
1
and
2
in the following snippet? Maybe
1
will be problematic in native code? I seem to remember these reified inline functions threw at runtime in K/N, is that still a thing?
Copy code
object UUIDSerializer : KSerializer<UUID> {
    override val descriptor: SerialDescriptor = serialDescriptor<String>() // (1)
    
    override val descriptor: SerialDescriptor = String.serializer().descriptor // (2)
    
    ...
}