I wonder if this:
.add(Date::class.java, Rfc3339DateJsonAdapter().nullSafe())
Could be replaced with something more idiomatic. I understand there are technical reasons, but going with either annotation or lambda here seems like a better option.
I wonder if this:
.add(Date::class.java, Rfc3339DateJsonAdapter().nullSafe())
Could be replaced with something more idiomatic. I understand there are technical reasons, but going with either annotation or lambda here seems like a better option.
Solutions Architect @Depop, author of “Hands-on Design Patterns with Kotlin” book and “Web Development with Kotlin” course
Love podcasts or audiobooks? Learn on the go with our new app.
Solutions Architect @Depop, author of “Hands-on Design Patterns with Kotlin” book and “Web Development with Kotlin” course