Join Slack
Powered by
<@UFJHSSZBR> Mirror guy here - you don't have to u...
# serialization
j
josephivie
03/06/2019, 6:21 PM
@Patrick Jackson
Mirror guy here - you don't have to use Mirror to get that effect if it's for a particular type. I see you have the freedom to use a wrapper object, so you could just write a custom serializer. Here's the one from Mirror - you could probably rip most of it out and use it directly.
https://github.com/lightningkite/mirror-kotlin/blob/master/mirror-runtime/src/commonMain/kotlin/com/lightningkite/mirror/info/PolymorphicMirror.kt
2
Views
Open in Slack
Previous
Next