Hello :wave: Is there a way to coerce default poly...
# serialization
d
Hello 👋 Is there a way to coerce default polymorphic type programmatically? i.e. something like https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/polymorphism.md#default-polymorphic-type-handler-for-deserialization but by using only annotations Guess I can provide default value together with
Copy code
Json {
    coerceInputValues = true
}
actually that would only work for marker interfaces (no fields) :(
*actually default value doesn't work for unknown polymorphic types even with coercing turned on and default values