Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.databind.jsontype |
Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
|
com.fasterxml.jackson.databind.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
com.fasterxml.jackson.databind.ser.std |
Modifier and Type | Method and Description |
---|---|
WritableTypeId |
JsonGenerator.writeTypePrefix(WritableTypeId typeIdDef) |
WritableTypeId |
JsonGenerator.writeTypeSuffix(WritableTypeId typeIdDef) |
Modifier and Type | Method and Description |
---|---|
WritableTypeId |
JsonGenerator.writeTypePrefix(WritableTypeId typeIdDef) |
WritableTypeId |
JsonGenerator.writeTypeSuffix(WritableTypeId typeIdDef) |
Modifier and Type | Method and Description |
---|---|
WritableTypeId |
TypeSerializer.typeId(Object value,
Class<?> typeForId,
JsonToken valueShape) |
WritableTypeId |
TypeSerializer.typeId(Object value,
JsonToken valueShape)
Factory method for constructing type id value object to pass to
TypeSerializer.writeTypePrefix(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.core.type.WritableTypeId) . |
WritableTypeId |
TypeSerializer.typeId(Object value,
JsonToken valueShape,
Object id) |
abstract WritableTypeId |
TypeSerializer.writeTypePrefix(JsonGenerator g,
WritableTypeId typeId)
Method called to write initial part of type information for given
value, along with possible wrapping to use: details are specified
by `typeId` argument.
|
abstract WritableTypeId |
TypeSerializer.writeTypeSuffix(JsonGenerator g,
WritableTypeId typeId) |
Modifier and Type | Method and Description |
---|---|
protected void |
TypeSerializer._writeLegacySuffix(JsonGenerator g,
WritableTypeId typeId)
Helper method needed for backwards compatibility: since original type id
can not be routed through completely, we have to reverse-engineer likely
setting before calling suffix.
|
abstract WritableTypeId |
TypeSerializer.writeTypePrefix(JsonGenerator g,
WritableTypeId typeId)
Method called to write initial part of type information for given
value, along with possible wrapping to use: details are specified
by `typeId` argument.
|
abstract WritableTypeId |
TypeSerializer.writeTypeSuffix(JsonGenerator g,
WritableTypeId typeId) |
Modifier and Type | Method and Description |
---|---|
WritableTypeId |
TypeSerializerBase.writeTypePrefix(JsonGenerator g,
WritableTypeId idMetadata) |
WritableTypeId |
TypeSerializerBase.writeTypeSuffix(JsonGenerator g,
WritableTypeId idMetadata) |
Modifier and Type | Method and Description |
---|---|
protected void |
TypeSerializerBase._generateTypeId(WritableTypeId idMetadata)
Helper method that will generate type id to use, if not already passed.
|
WritableTypeId |
TypeSerializerBase.writeTypePrefix(JsonGenerator g,
WritableTypeId idMetadata) |
WritableTypeId |
TypeSerializerBase.writeTypeSuffix(JsonGenerator g,
WritableTypeId idMetadata) |
Modifier and Type | Method and Description |
---|---|
protected WritableTypeId |
BeanSerializerBase._typeIdDef(TypeSerializer typeSer,
Object bean,
JsonToken valueShape) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.