defaultSerializer

expect fun defaultSerializer(): JsonSerializer

Platform default serializer.

Uses service loader on jvm. Consider to add one of the following dependencies:

  • ktor-client-gson

  • ktor-client-json

actual fun defaultSerializer(): JsonSerializer
actual fun defaultSerializer(): JsonSerializer

Platform default serializer.