Ktor Content Negotiation with kotlinx.serialization: Multi-Format Request/Response Handling
Configure Ktor's Content Negotiation plugin with kotlinx.serialization for automatic JSON, XML, and Protobuf request/response handling. Covers plugin setup, format selection, worked example, and pitfalls like missing @Serializable, strict unknown-key handling, and memory buffering.