encodeToString
open override fun <T> encodeToString(serializer: SerializationStrategy<T>, value: T): String(source)
fun <T> encodeToString(serializer: SerializationStrategy<T>, value: T, prefix: String?): String(source)
Transform into a string. This function is expected to be called indirectly.
Parameters
value
The actual object
serializer
The serializer/saver to use to write
prefix
The prefix (if any) to use for the namespace
fun <T> encodeToString(serializer: SerializationStrategy<T>, value: T, rootName: QName): String(source)
Transform into a string. This function is expected to be called indirectly.
Parameters
value
The actual object
serializer
The serializer/saver to use to write
rootName
The QName to use for the root tag