Join Slack
Powered by
To bump my previous question: Does anyone know if ...
# serialization
d
dagomni
05/06/2020, 8:54 AM
To bump my previous question: Does anyone know if there's a way to apply JsonTransformingSerializer to every possible type, without specifying the type explicitly? I'm basically looking for a way to implement this, which was quite easy to do in Moshi
https://pastebin.com/hmdwERm9
(snippet stolen from
@jw
-
https://github.com/square/moshi/issues/295#issuecomment-299610834
)
d
Dominaezzz
05/06/2020, 2:57 PM
Somewhat related issue
https://github.com/Kotlin/kotlinx.serialization/issues/793
.
Dominaezzz
05/06/2020, 2:57 PM
Add your usecase in a comment to convince the devs.
7
Views
Open in Slack
Previous
Next