https://kotlinlang.org logo
#serialization
Title
# serialization
z

Zan Skamljic

11/29/2023, 3:32 PM
Is it possible to deserialize a fixed size array of two objects of different types, that I know ahead of time? I can't make them a sealed class, and I'm unsure on how to write a KSerializer, as I need to provide a descriptor and a serializer and a deserializer