Hi guys, I am using Ktor Http client to call REST APIs and I use JsonFeature to deserialize the responses. In case of a response with a status ≠200 OK, my json body cannot be mapped to the same object as when the response is OK.
How would you do serializing in this case ? I would have liked something like