zio.blocks.schema.xml.xmlAttribute
See thexmlAttribute companion object
case class xmlAttribute(name: String = ...) extends StaticAnnotation
Marks a field to be encoded as an XML attribute instead of a child element.
Value parameters
- name
-
Optional custom name for the attribute. If empty, the field name is used.
Attributes
- Companion
- object
- Source
- xmlAttribute.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Members list
In this article