Ktor Server ↔ Ktor Client: Content Negotiation Interoperability
Ktor Server ↔ Ktor Client: Content Negotiation Interoperability When a Ktor Server and a Ktor Client are deployed together, both sides must agree on how JSON payloads are serialized. The current ContentNegotiation plug‑in allows separate registration of kotlinx.serialization or gson , but the API does not provide a single, unified configuration path. This fr