encodeToString
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 kotlinx.serialization.Serializable.
Parameters
The object to transform
The serializer to user
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 kotlinx.serialization.Serializable.
Parameters
The object to transform
The serializer to user
The namespace prefix to use
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 kotlinx.serialization.Serializable.
Parameters
The object to transform
The serializer to user
The QName to use for the root tag
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 kotlinx.serialization.Serializable.
Parameters
The object to transform
The namespace prefix to use
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 kotlinx.serialization.Serializable.
Parameters
The object to transform
The QName to use for the root tag