Hello,
I have data class with Collection, and I want this collection to be non-null, but field is marked as Optional annotation with emptyList default.
If JSON contains appropriate field with null value, Exception
Copy code
Expected class kotlinx.serialization.json.JsonArray but found class kotlinx.serialization.json.JsonNull
is thrown.
Is it possible to ignore that null value in json?