as Converter Factory
Return a Converter.Factory which uses Kotlin serialization for string-based payloads.
Because Kotlin serialization is so flexible in the types it supports, this converter assumes that it can handle all types. If you are mixing this with something else, you must add this instance last to allow the other converters a chance to see their types.
Return a Converter.Factory which uses Kotlin serialization for byte-based payloads.
Because Kotlin serialization is so flexible in the types it supports, this converter assumes that it can handle all types. If you are mixing this with something else, you must add this instance last to allow the other converters a chance to see their types.