Package com.oracle.coherence.io.json.genson.annotation
This package provides useful annotations to configure some features used during serialization and deserialization.
-
Annotation Types Summary Annotation Type Description HandleBeanView Annotated Serializer/Deserializer/Converter will be excluded from the BeanView mechanism.HandleClassMetadata Annotated Serializer/Deserializer/Converter with @HandleClassMetadata indicate that they will handle @class metadata during serialization and deserialization.HandleNull Similar toHandleClassMetadata, put this annotation on your Converters, Serializers and Deserializers to disable Genson default null handling (NullConverter).JsonConverter This annotation is useful when you want to use a specific Converter for a property in a class, but do not want to use it for all properties of that type.JsonCreator Static methods annotated with @JsonCreator annotation will act as method factories.JsonDateFormat Can be used on java.util.Date and java.util.Calendar to indicate the pattern or lang to use when working with this date field.JsonIgnore You can annotate with @JsonIgnore the methods, fields and creators that must be ignored during serialization AND deserialization.JsonProperty JsonProperty annotation can be used to define the name of a property.WithBeanView Annotation used actually only in spring web integrationGensonMessageConverterto indicate at runtime what BeanView must be used.