spand
02/25/2019, 1:29 PM@Serializable
class Response(
val localDate: LocalDate
)
@Serializable(with = LocalDateSerializer::class)
expect class LocalDate
@Serializer(LocalDate::class)
expect object LocalDateSerializer : KSerializer<LocalDate>
But it complains that no Serializer for element of type LocalDate has been found. Am I doing something wrong ?sandwwraith
02/25/2019, 5:07 PMspand
02/26/2019, 7:45 AMLocalDate
and not `LocalDateSerializer`: Internal error Recursion detected on input: LocalDate...
Both expect/acutal LocalDateSerializer
and not `LocalDate`: Serializer for element of type LocalDate has not been found