XmlSerialName

@SerialInfo
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.PROPERTY])
annotation class XmlSerialName(val value: String = UNSET_ANNOTATION_VALUE, val namespace: String = UNSET_ANNOTATION_VALUE, val prefix: String = UNSET_ANNOTATION_VALUE)(source)

Specify more detailed name information than can be provided by kotlinx.serialization.SerialName. The default value is different from an empty value, in that it will result in a default behaviour.

Properties

Link copied to clipboard
val namespace: String

The namespace to use.

Link copied to clipboard
val prefix: String

the Prefix to use.

Link copied to clipboard
val value: String

The local part of the name.

Functions

Link copied to clipboard
fun XmlSerialName.toQName(serialName: String, parentNamespace: Namespace?): QName