Andrew K
02/08/2023, 7:53 PMmultiplatform-settings
but after installing it, I get the following error:
Serializer for class 'MyModel' is not found.
I am using the @Serializable annotation with my data class and everything worked prior to installing the library or when I remove it.
Any ideas?jessel
02/08/2023, 7:55 PMAndrew K
02/08/2023, 7:57 PMinstall(ContentNegotiation) {
json(Json {
prettyPrint = true
isLenient = true
ignoreUnknownKeys = true
})
}
jessel
02/08/2023, 7:57 PMrusshwolf
02/08/2023, 8:19 PMandroidx.startup
so it's strange that it would have any impact on serialization. What versions of Kotlin and kotlinx-serialization are you using?russhwolf
02/08/2023, 8:20 PMAndrew K
02/08/2023, 8:21 PMrusshwolf
02/08/2023, 8:22 PMAndrew K
02/08/2023, 8:23 PMAndrew K
02/08/2023, 8:29 PM