Serializer

interface Serializer<T> : Any

Fields

Name Description
abstract mimeType: MimeType

Methods

serialize

abstract fun serialize(value: T): String

Parameters

Name Description
value: T

ReturnValue

Name Description
String

serializeMany

open fun serializeMany(vararg values: T): String

Parameters

Name Description
vararg values: T

ReturnValue

Name Description
String

serializeMany

abstract fun serializeMany(values: Iterable<T>): String

Parameters

Name Description
values: Iterable<T>

ReturnValue

Name Description
String

serializeMany

open fun serializeMany(values: Sequence<T>): String

Parameters

Name Description
values: Sequence<T>

ReturnValue

Name Description
String