decodeFromReader
Parse an object of the type T out of the reader
Parameters
reader
The source of the XML events
rootName
The QName to use for the root tag
fun <T : Any> decodeFromReader(deserializer: DeserializationStrategy<T>, reader: XmlReader, rootName: QName? = null): T(source)
Parse an object of the type T out of the reader
Parameters
deserializer
The loader to use (rather than the default)
rootName
The QName to use for the root tag
reader
The source of the XML events