|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
ObjectIdGenerator.newForSerialization(java.lang.Object)).
ObjectIdResolver.newForDeserialization(java.lang.Object)).
Locale
(from deserialization or serialization context) should be used:
annotation does not define value to use.
TimeZone
(from deserialization or serialization context) should be used:
annotation does not define value to use.
JsonInclude
ObjectIdGenerator.maySerializeAsObject())
whether given name
JsonFormat.Value that are used
to contain information from one of Jackson annotations, and can be directly
instantiated from those annotations, as well as programmatically constructed
and possibly merged.JsonAnySetter method; basically being used like a
getter but such that contents of the returned Map (type must be
Map) are serialized as if they were actual properties
of the bean that contains method/field with this annotations.com.fasterxml.jackson.databind.ObjectMapper (or objects
it delegates to) providing matching filters by id.Boolean
valued EnumMap.JsonFormat
annotation.JsonIdentityInfo).JsonInclude
to define which properties
of Java Beans are to be included in serialization.JsonInclude
annotation.JsonProperty.access() property, specifying how property
may be accessed during serialization ("read") and deserialization ("write")
(note that the direction of read and write is from perspective of the property,
not from external data format: this may be confusing in some contexts).XmlRootElement,
used to indicate name to use for root-level wrapping, if wrapping is
enabled.JsonProperty annotation (which was introduced in version 1.1).JsonTypeInfo to indicate sub types of serializable
polymorphic types, and to associate logical names used within JSON content
(which is more portable than using physical Java class names).Void instead.XmlValue
that indicates that results of the annotated "getter" method
(which means signature must be that of getters; non-void return
type, no args) is to be used as the single value to serialize
for the instance.true
if the Object Id may be serialized as JSON Object; used by, for example,
JSOG handling.
JsonIdentityInfo).ObjectIdGenerator implementations:
ObjectIdGenerators.IntSequenceGenerator
ObjectIdGenerators.PropertyGenerator
ObjectIdGenerators.StringIdGenerator (since 2.7)
ObjectIdGenerators.UUIDGenerator
ints (starting with value 1) as Object Identifiers.ObjectIdGenerators.UUIDGenerator for generation ids.UUIDs as reliably
unique identifiers: downside is that resulting String is
36 characters long.JsonIdentityInfo).JsonAutoDetect apply to.ObjectIdResolverJsonFormat.Value.getTimeZone()) which is useful
when caller just wants time zone id to convert, but not as JDK
provided TimeZone
ObjectIdGenerator used for generating Object Id
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||