Hi! I’ve encountered a missing feature in the kotlinx.serialization library.. We’re using the serialization library for JSON requests and responses and for each request we’re doing we get a response with some data, but the JSON also contains a metadata object describing the response data. We currently aren’t doing anything with the metadata and aren’t planning on using it, so we set the serializer to ignore unknown keys. We really want to validate the incoming JSON using the model. In the past we’ve encountered some unwanted behaviour because either the response data or our model changed.. So basically we want to ignore only specific keys while deserializing (the metadata object). Unfortunately this isn’t possible in the library. I’ve found some issue on the github about this feature and I’ve gone ahead and implemented the feature. I already put up a pull request (
https://github.com/Kotlin/kotlinx.serialization/pull/2235). But, how to proceed, just wait until it gets reviewed, or should we discuss it?