Package | Description |
---|---|
com.fasterxml.jackson.annotation |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
com.fasterxml.jackson.databind.annotation |
Annotations that directly depend on classes in databinding bundle
(not just Jackson core) and can not be included
in Jackson core annotations package (because it can not have any
external dependencies).
|
com.fasterxml.jackson.databind.jsonschema |
Classes needed for JSON schema support (currently just ability
to generate schemas using serialization part of data mapping)
|
com.fasterxml.jackson.jaxrs.annotation |
Package that contains annotations applicable to all content types.
|
com.fasterxml.jackson.jaxrs.json.annotation |
Package that contains annotations specific to JSON dataformat.
|
Modifier and Type | Class and Description |
---|---|
interface |
JacksonAnnotationsInside
Meta-annotation (annotations used on other annotations)
used for indicating that instead of using target annotation
(annotation annotated with this annotation),
Jackson should use meta-annotations it has.
|
interface |
JacksonInject
Jackson-specific annotation used for indicating that value of
annotated property will be "injected", i.e.
|
interface |
JsonAnyGetter
Marker annotation that can be used to define a non-static,
no-argument method or member field as something of a reverse of
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. |
interface |
JsonAnySetter
Marker annotation that can be used to define a non-static,
two-argument method (first argument name of property, second value
to set), 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 |
JsonBackReference
Annotation used to indicate that associated property is part of
two-way linkage between fields; and that its role is "child" (or "back") link.
|
interface |
JsonClassDescription
Annotation used to define a human readable description for annotated
type (class).
|
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 |
JsonEnumDefaultValue
Marker annotation that can be used to define a default value
used when trying to deserialize unknown Enum values.
|
interface |
JsonFilter
Annotation used to indicate which logical filter is to be used
for filtering out properties of type (class) annotated;
association made by this annotation declaring ids of filters,
and
com.fasterxml.jackson.databind.ObjectMapper (or objects
it delegates to) providing matching filters by id. |
interface |
JsonFormat
General-purpose annotation used for configuring details of how
values of properties are to be serialized.
|
interface |
JsonGetter
Marker annotation that can be used to define a non-static,
no-argument value-returning (non-void) method to be used as a "getter"
for a logical property.
|
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 annotated method or field 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 |
JsonIgnoreType
Marker annotation that indicates that all properties of annotated
type are to be ignored during serialization and 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 |
JsonManagedReference
Annotation used to indicate that annotated property is part of
two-way linkage between fields; and that its role is "parent" (or "forward") link.
|
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 |
JsonPropertyDescription
Annotation used to define a human readable description for a logical
property.
|
interface |
JsonPropertyOrder
Annotation that can be used to define ordering (possibly partial) to use
when serializing object properties.
|
interface |
JsonRawValue
Marker annotation that indicates that the annotated method
or field should be serialized by including literal String value
of the property as is, without quoting of characters.
|
interface |
JsonRootName
Annotation similar to
XmlRootElement ,
used to indicate name to use for root-level wrapping, if wrapping is
enabled. |
interface |
JsonSetter
Marker annotation that can be used to define a non-static,
single-argument method to be used as a "setter" for a logical property
as an alternative to recommended
JsonProperty annotation (which was introduced in version 1.1). |
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 |
JsonTypeId
Marker annotation that can be used on a property accessor
(field, getter or setter, constructor parameter) to indicate that
the property is to contain type id to use when including
polymorphic type information.
|
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 |
JsonTypeName
Annotation used for binding logical name that the annotated class
has.
|
interface |
JsonUnwrapped
Annotation used to indicate that a property should be serialized
"unwrapped"; that is, if it would be serialized as JSON Object, its
properties are instead included as properties of its containing
Object.
|
interface |
JsonValue
Marker annotation similar to
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. |
interface |
JsonView
Annotation used for indicating view(s) that the property
that is defined by method or field annotated is part of.
|
Modifier and Type | Class and Description |
---|---|
interface |
JacksonStdImpl
Marker interface used to indicate implementation classes
(serializers, deserializers etc) that are standard ones Jackson
uses; not custom ones that application has added.
|
interface |
JsonAppend
Annotation that may be used to add "virtual" properties to be written
after regular properties (although ordering may be changed using
both standard
@JsonPropertyOrder annotation, and
properties of this annotation). |
interface |
JsonDeserialize
Annotation use for configuring deserialization aspects, by attaching
to "setter" methods or fields, or to value classes.
|
interface |
JsonNaming
Annotation that can be used to indicate a
PropertyNamingStrategy
to use for annotated class. |
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.
|
interface |
JsonSerialize
Annotation used for configuring serialization aspects, by attaching
to "getter" methods or fields, or to value classes.
|
interface |
JsonTypeIdResolver
Annotation that can be used to plug a custom type identifier handler
(
TypeIdResolver )
to be used by
TypeSerializer s
and TypeDeserializer s
for converting between java types and type id included in JSON content. |
interface |
JsonTypeResolver
Annotation that can be used to explicitly define custom resolver
used for handling serialization and deserialization of type information,
needed for handling of polymorphic types (or sometimes just for linking
abstract types to concrete types)
|
interface |
JsonValueInstantiator
Annotation that can be used to indicate a
ValueInstantiator to use
for creating instances of specified type. |
Modifier and Type | Class and Description |
---|---|
interface |
JsonSerializableSchema
Annotation that can be used to define JSON Schema definition for
the annotated class.
|
Modifier and Type | Class and Description |
---|---|
interface |
JacksonFeatures
Annotation that can be used enable and/or disable various
features for
ObjectReader s and ObjectWriter s. |
Modifier and Type | Class and Description |
---|---|
interface |
JacksonFeatures
Deprecated.
Since 2.2, use shared
JacksonFeatures instead |
interface |
JSONP |
Copyright © 2017 JBoss by Red Hat. All rights reserved.