James
07/02/2023, 10:09 AMString
Ktor does not serialize or deserialize it, not on the server side or the client side. I've had to add helper methods to send and accept JSON:Aleksei Tirman [JB]
07/03/2023, 6:36 AMString
type serializable and deserializable in the same way as for other objects by removing it from the ignored types:
install(ContentNegotiation) {
removeIgnoredType(String::class)
}
James
07/03/2023, 6:45 AMAleksei Tirman [JB]
07/03/2023, 6:47 AMJames
07/03/2023, 6:48 AMJames
07/03/2023, 8:29 AMAleksei Tirman [JB]
07/03/2023, 8:38 AMJames
07/03/2023, 8:39 AMJames
07/03/2023, 8:40 AMJames
07/03/2023, 8:41 AMAleksei Tirman [JB]
07/03/2023, 10:26 AMrespondNullable
or respond
Aleksei Tirman [JB]
07/03/2023, 10:26 AMJames
07/03/2023, 10:27 AMJames
07/03/2023, 10:27 AMJames
07/03/2023, 10:31 AMJames
07/03/2023, 10:32 AMJames
07/03/2023, 10:37 AMJames
07/03/2023, 10:38 AM