edenman
08/19/2020, 3:08 AMKClass.serializer()
it’s marked as @InternalSerializationApi
in 1.0.0-RC, I filed https://github.com/Kotlin/kotlinx.serialization/issues/991 to try and get some more clarity on why it’s not recommendedelizarov
08/19/2020, 6:58 AMedenman
08/19/2020, 8:47 AMelizarov
08/19/2020, 8:54 AMedenman
08/19/2020, 10:44 AMOneOfSerializer
). i have a sealed class that represents a protobuf “oneof” where only one of the field names is set in the json, so i have a custom serializer for this case and use nestedClasses
to get the implementations of the sealed class. then serializer checks for the fieldnames corresponding to the implementationsVsevolod Tolstopyatov [JB]
08/19/2020, 11:12 AM