@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface JSONType
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
alphabetic
Property that defines what to do regarding ordering of properties not explicitly included in annotation instance.
|
java.lang.Class<? extends JSONReader.AutoTypeBeforeHandler> |
autoTypeBeforeHandler |
java.lang.Class<?> |
builder |
JSONReader.Feature[] |
deserializeFeatures
Specify
JSONReader.Features to use features when deserializing |
java.lang.Class<?> |
deserializer |
boolean |
disableReferenceDetect
Reduce code branches during code generation to improve performance,
If it is true, there will be no code related to reference detection.
|
java.lang.String |
format |
java.lang.String[] |
ignores |
java.lang.String[] |
includes |
java.lang.String |
locale |
PropertyNamingStrategy |
naming |
java.lang.String[] |
orders
Order in which properties of annotated object are to be serialized in.
|
java.lang.String |
rootName
Similar to
javax.xml.bind.annotation.XmlRootElement,
used to indicate name to use for root-level wrapping, if wrapping is
enabled. |
java.lang.String |
schema |
java.lang.Class<?>[] |
seeAlso |
java.lang.Class<?> |
seeAlsoDefault |
JSONWriter.Feature[] |
serializeFeatures
Specify
JSONWriter.Features to use features when serializing output |
java.lang.Class<? extends Filter>[] |
serializeFilters |
java.lang.Class<?> |
serializer |
boolean |
skipTransient |
java.lang.String |
typeKey |
java.lang.String |
typeName |
boolean |
writeEnumAsJavaBean |
public abstract java.lang.Class<?> seeAlsoDefault
public abstract boolean alphabetic
public abstract JSONReader.Feature[] deserializeFeatures
JSONReader.Features to use features when deserializingpublic abstract JSONWriter.Feature[] serializeFeatures
JSONWriter.Features to use features when serializing outputpublic abstract PropertyNamingStrategy naming
public abstract java.lang.String[] orders
public abstract java.lang.Class<? extends Filter>[] serializeFilters
public abstract java.lang.Class<? extends JSONReader.AutoTypeBeforeHandler> autoTypeBeforeHandler
public abstract boolean disableReferenceDetect
public abstract java.lang.String rootName
javax.xml.bind.annotation.XmlRootElement,
used to indicate name to use for root-level wrapping, if wrapping is
enabled. Annotation itself does not indicate that wrapping should
be used; but if it is, the name used for serialization should be the
name specified here, and deserializer will expect the name as well.