Loney Chou
08/31/2023, 4:31 AM@Serializable(Serializer::class), and the actual implementation is a typealias to java.time.LocalDateTime. Now it complains about the missing companion object on the actual implementation. And when I move the `@Serializable`to the typealias, it complains that no serializer found for LocalDateTime. How to solve this?Marcus Ilgner
08/31/2023, 4:32 PMLoney Chou
08/31/2023, 4:48 PM// common
@Serializable(Serializer::class)
expect class LocalDateTime
object Serializer : KSerializer<LocalDateTime>
// jvm
actual typealias LocalDateTime = java.time.LocalDateTime // ERRORLoney Chou
09/01/2023, 11:16 AMLocalDateTime, and leave the raw `LocalDateTime`as is.