Annotation Interface Include
Annotation used to indicate when value of the annotated property is to be serialized.
Without annotation property values are always included, but by using
this annotation one can specify simple exclusion rules to reduce
amount of properties to write out. Similar to
JsonInclude in
Jackson, but simplified/more generic here.- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration defining classes of properties of Java Beans are to be included in serialization. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionInclusion rule to use for instances (values) of types (Classes) or properties annotated; defaults toInclude.Type.ALWAYS.
-
Element Details
-
value
Include.Type valueInclusion rule to use for instances (values) of types (Classes) or properties annotated; defaults toInclude.Type.ALWAYS.- Default:
ALWAYS
-