Module dev.metaschema.databind
Annotation Type GroupAs
Defines how a collection of model instances should be grouped.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDescribes how to handle collections in JSON/YAML.Describes how to handle collections in XML.
-
Element Details
-
name
The name to use for an XML grouping element wrapper or a JSON/YAML grouping property.- Returns:
- the name
-
-
-
inJson
Describes how to handle collections in JSON/YAML.- Returns:
- the JSON collection strategy
- Default:
- SINGLETON_OR_LIST
-
inXml
Describes how to handle collections in XML.- Returns:
- the XML collection strategy
- Default:
- UNGROUPED
-