How do we represent Date in kotlinx serializable m...
# multiplatform
d
How do we represent Date in kotlinx serializable model in common code?
s
For date I always use
long
d
the date in the service response is in this format - /Date(1571140800000)/ - so long won't work. I guess have to use String and then platform specific to convert to appropriate dates.
so did just that, string and then created extensions in Kotlin and swift to parse and convert to appropriate date types