Join Slack
Powered by
is there a cheap way to deserialise a data class t...
# announcements
r
reik.schatz
11/21/2018, 4:03 PM
is there a cheap way to deserialise a data class to a String and serialise it back from a String
t
Thomas Legrand
11/21/2018, 4:05 PM
depending on your needs:
https://github.com/Kotlin/kotlinx.serialization
r
reik.schatz
11/21/2018, 4:06 PM
thanks
p
Paul Woitaschek
11/21/2018, 4:13 PM
I found it really really complicated to write custom adapters on classes with generics, beware đ
g
gabin
11/21/2018, 4:14 PM
did someone see benchmarks for each kind of serialization ?
t
Thomas Legrand
11/21/2018, 4:32 PM
@Paul Woitaschek
hence the âdepending on your needsâ đ but youâre right
2
Views
Open in Slack
Previous
Next