Hi all, I am using ktor with kotlinx.serialization...
# ktor
i
Hi all, I am using ktor with kotlinx.serialization (for a server application), and I am not much familiar with neither one of those. I have a data class that has a field of type LocalDateTime, it doesn't have a default serializer so I wrote it, but is there a way I could register a serializer in ktor for a class so that I don't always have to write the following when some data class has a property of that type?
Copy code
@Serializable(with = LocalDateTimeSerializer::class)
i
Thanks, I will check that out