XmlDefault

annotation class XmlDefault(val value: String)(source)

Allow a property to be omitted with a default serialized string. This annotation primarily supports older versions of the framework that do not support default attribute values. The default value will not be written out if matched.

Properties

Link copied to clipboard

The default value used if no value is specified. The value is parsed as if there was textual substitution of this value into the serialized XML.