📜  kotlin 枚举序列化 - Kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:32.005000             🧑  作者: Mango

代码示例1
EventClass(id = "1001", event = Event.RESCHEDULE)
            .let { jacksonObjectMapper().writeValueAsString(it) }
            .let { System.out.println(it) }