| Package | Description |
|---|---|
| com.fasterxml.jackson.annotation | |
| com.fasterxml.jackson.databind.annotation |
| Modifier and Type | Class and Description |
|---|---|
interface |
JsonAnyGetter
Marker annotation that can be used to define a non-static,
no-argument method to be an "any getter"; accessor for getting
a set of key/value pairs, to be serialized as part of containing POJO
(similar to unwrapping) along with regular property values it has.
|
interface |
JsonAnySetter
Marker annotation that can be used to define a logical "any setter" mutator --
either using non-static
two-argument method (first argument name of property, second value
to set) or a field (of type
Map or POJO) -
to be used as a "fallback" handler
for all otherwise unrecognized properties found from JSON content. |
interface |
JsonAutoDetect
Class annotation that can be used to define which kinds of Methods
are to be detected by auto-detection, and with what minimum access level.
|
interface |
JsonCreator
Marker annotation that can be used to define constructors and factory
methods as one to use for instantiating new instances of the associated
class.
|
interface |
JsonFormat
General-purpose annotation used for configuring details of how
values of properties are to be serialized.
|
interface |
JsonIdentityInfo
Annotation used for indicating that values of annotated type
or property should be serializing so that instances either
contain additional object identifier (in addition actual object
properties), or as a reference that consists of an object id
that refers to a full serialization.
|
interface |
JsonIdentityReference
Optional annotation that can be used for customizing details of a reference
to Objects for which "Object Identity" is enabled (see
JsonIdentityInfo). |
interface |
JsonIgnore
Marker annotation that indicates that the logical property that
the accessor (field, getter/setter method or Creator parameter
[of
JsonCreator-annotated constructor or factory method])
is to be ignored by introspection-based
serialization and deserialization functionality. |
interface |
JsonIgnoreProperties
Annotation that can be used to either suppress serialization of
properties (during serialization), or ignore processing of
JSON properties read (during deserialization).
|
interface |
JsonInclude
Annotation used to indicate when value of the annotated property (when
used for a field, method or constructor parameter), or all
properties of the annotated class, is to be serialized.
|
interface |
JsonProperty
Marker annotation that can be used to define a non-static
method as a "setter" or "getter" for a logical property
(depending on its signature),
or non-static object field to be used (serialized, deserialized) as
a logical property.
|
interface |
JsonPropertyOrder
Annotation that can be used to define ordering (possibly partial) to use
when serializing object properties.
|
interface |
JsonSubTypes
Annotation used with
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). |
interface |
JsonTypeInfo
Annotation used for configuring details of if and how type information is
used with JSON serialization and deserialization, to preserve information
about actual class of Object instances.
|
interface |
JsonValue
Marker annotation
that indicates that the value of annotated accessor (either field
or "getter" method [a method with non-void return type, no args])
is to be used as the single value to serialize for the instance,
instead of the usual method of collecting properties of value.
|
| Modifier and Type | Class and Description |
|---|---|
interface |
JsonDeserialize
Super source for
JsonDeserialize to remove the use of java.lang.reflect.* classes |
interface |
JsonPOJOBuilder
Annotation used to configure details of a Builder class:
instances of which are used as Builders for deserialized
POJO values, instead of POJOs being instantiated using
constructors or factory methods.
|
Copyright © 2020. All rights reserved.