See: Description
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 to
HandleClassMetadata , 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 integration
GensonMessageConverter to indicate
at runtime what BeanView must be used. |
Copyright © 2019. All rights reserved.