Annotation Type JsonAppend.Prop
-
public static @interface JsonAppend.PropDefinition of a single general virtual property.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Class<? extends VirtualBeanPropertyWriter>valueActual implementation class (a subtype ofVirtualBeanPropertyWriter) of the property to instantiate (using the no-argument default constructor).
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description com.fasterxml.jackson.annotation.JsonInclude.IncludeincludeWhen to include value of the property.java.lang.StringnameName of the property to possibly use for serializing (although implementation may choose to not use this information).java.lang.StringnamespaceOptional namespace to use along withname(); only relevant for data formats that use namespaces (like XML).booleanrequiredMetadata about property, similar toJsonProperty.required().java.lang.Class<?>typeNominal type of the property.
-
-
-
Element Detail
-
value
java.lang.Class<? extends VirtualBeanPropertyWriter> value
Actual implementation class (a subtype ofVirtualBeanPropertyWriter) of the property to instantiate (using the no-argument default constructor).
-
-
-
namespace
java.lang.String namespace
Optional namespace to use along withname(); only relevant for data formats that use namespaces (like XML).- Default:
- ""
-
-
-
include
com.fasterxml.jackson.annotation.JsonInclude.Include include
When to include value of the property. Default value indicates that property should only be written if specified attribute has a non-null value. As with other properties, actual property implementation may or may not choose to use this inclusion information.- Default:
- com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL
-
-