Join Slack
Powered by
is there a way to make data classes extend codable...
# kotlin-native
h
hellotimmutton
03/05/2018, 4:23 AM
is there a way to make data classes extend codable without explicitly stating it in the code?
o
olonho
03/05/2018, 5:53 AM
long term solution is to rely upon
https://github.com/Kotlin/kotlinx.serialization
(which is being ported to K/N), in the meantime, some ideas could be found in
https://github.com/JetBrains/kotlinconf-app/tree/master/ios/src/main/kotlin/data
h
hellotimmutton
03/05/2018, 10:57 AM
cheers
5
Views
Open in Slack
Previous
Next