Is it possible to use new, okio based serializatio...
# ktor
k
Is it possible to use new, okio based serialization API in conjunction with ktor?
a
Could you please give an example usage of that API?
k
The only thing I know about it is this release note: https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.4.0-RC I haven’t tried it yet
And since Serialization is already stable in 1.4.0 version, I thought that it would be great to use it in ktor
a
Probably it will require an integration of
Json.decodeFromBufferedSource
and
Json.encodeToBufferedSink
functions within Ktor.