tylerwilson
06/29/2019, 3:46 PMclass MyObject {
@Format("mm/dd/yyyy")
@Serializable(with = MyDateSerializer::class)
val poorlyFormattedDate: Date
}
Any way to get the Format data from within the MyDateSerializer (without writing a whole custom parsing class for every model in my app/library? Thank you!tylerwilson
06/29/2019, 3:47 PMclass MyObject {
@Serializable(with = MyDateSerializer::class, format = "mm/dd/yyy")
val poorlyFormattedDate: Date
}
if I knew how…louiscad
06/29/2019, 11:39 PMtylerwilson
07/01/2019, 3:12 PM