createFormat

open override fun <T> createFormat(serializer: KSerializer<T>): BodyFormat<T>

Creates a BodyFormat for the given serializer.