Functions
Link copied to clipboard
@JvmOverloads
Parse an object of the type T out of the reader
Link copied to clipboard
fun <T> decodeFromString(deserializer: DeserializationStrategy <T>, string: String , rootName: QName ?): T
Parse an object of the type T out of the reader
Link copied to clipboard
Transform the object into an XML string. This requires the object to be serializable by the kotlin serialization library (either it has a built-in serializer or it is
Link copied to clipboard
fun <T> encodeToWriter(target: XmlWriter , serializer: SerializationStrategy <T>, value: T, prefix: String ? = null)
fun <T> encodeToWriter(target: XmlWriter , serializer: SerializationStrategy <T>, value: T, rootName: QName )
Write the object to the given writer
Link copied to clipboard