vide
12/22/2022, 1:51 PMval items: ImmutableList<Item>
kotlinx.serialization.SerializationException: Class 'SmallPersistentVector' is not registered for polymorphic serialization in the scope of 'ImmutableList'.
Mark the base class as 'sealed' or register the serializer explicitly.
This has been mentioned in #android before in this message: https://kotlinlang.slack.com/archives/C0B8M7BUY/p1661349374174729 but the linked docs don't really seem to help. The class I am trying to serialize is a data class, and the class Item is also a data class. Any ideas what could be causing this? I am using org.jetbrains.kotlinxkotlinx serialization json1.4.1 and org.jetbrains.kotlinxkotlinx collections immutable0.3.5vide
12/22/2022, 4:47 PMvide
12/22/2022, 4:47 PM