decodeFromString

inline fun <T : Any> decodeFromString(str: String, rootName: QName? = null): T(source)

Parse an object of the type T out of the reader

Parameters

str

The source of the XML events

rootName

The QName to use for the root tag


open override fun <T> decodeFromString(deserializer: DeserializationStrategy<T>, string: String): T(source)

Parse an object of the type T out of the reader

Parameters

deserializer

The loader to use

string

The source of the XML events


fun <T> decodeFromString(deserializer: DeserializationStrategy<T>, string: String, rootName: QName?): T(source)

Parse an object of the type T out of the reader

Parameters

deserializer

The loader to use

rootName

The QName to use for the root tag

string

The source of the XML events