Uses of Class
com.fasterxml.jackson.core.type.WritableTypeId
Packages that use WritableTypeId
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonGenerator)
instances.Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver.-
Uses of WritableTypeId in com.fasterxml.jackson.core
Methods in com.fasterxml.jackson.core that return WritableTypeIdModifier and TypeMethodDescriptionJsonGenerator.writeTypePrefix(WritableTypeId typeIdDef) Replacement method forJsonGenerator.writeTypeId(Object)which is called regardless of whether format has native type ids.JsonGenerator.writeTypeSuffix(WritableTypeId typeIdDef) Method to call along withJsonGenerator.writeTypePrefix(com.fasterxml.jackson.core.type.WritableTypeId), but after actual value that has type id has been completely written.Methods in com.fasterxml.jackson.core with parameters of type WritableTypeIdModifier and TypeMethodDescriptionJsonGenerator.writeTypePrefix(WritableTypeId typeIdDef) Replacement method forJsonGenerator.writeTypeId(Object)which is called regardless of whether format has native type ids.JsonGenerator.writeTypeSuffix(WritableTypeId typeIdDef) Method to call along withJsonGenerator.writeTypePrefix(com.fasterxml.jackson.core.type.WritableTypeId), but after actual value that has type id has been completely written. -
Uses of WritableTypeId in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype that return WritableTypeIdModifier and TypeMethodDescriptionFactory method for constructing type id value object to pass toTypeSerializer.writeTypePrefix(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.core.type.WritableTypeId).abstract WritableTypeIdTypeSerializer.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 WritableTypeIdTypeSerializer.writeTypeSuffix(JsonGenerator g, WritableTypeId typeId) Method that should be called afterTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)and matching value write have been called, passingWritableTypeIdreturned.Methods in com.fasterxml.jackson.databind.jsontype with parameters of type WritableTypeIdModifier and TypeMethodDescriptionprotected final voidTypeSerializer._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 WritableTypeIdTypeSerializer.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 WritableTypeIdTypeSerializer.writeTypeSuffix(JsonGenerator g, WritableTypeId typeId) Method that should be called afterTypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)and matching value write have been called, passingWritableTypeIdreturned. -
Uses of WritableTypeId in com.fasterxml.jackson.databind.jsontype.impl
Methods in com.fasterxml.jackson.databind.jsontype.impl that return WritableTypeIdModifier and TypeMethodDescriptionAsDeductionTypeSerializer.writeTypePrefix(JsonGenerator g, WritableTypeId idMetadata) TypeSerializerBase.writeTypePrefix(JsonGenerator g, WritableTypeId idMetadata) AsDeductionTypeSerializer.writeTypeSuffix(JsonGenerator g, WritableTypeId idMetadata) TypeSerializerBase.writeTypeSuffix(JsonGenerator g, WritableTypeId idMetadata) Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type WritableTypeIdModifier and TypeMethodDescriptionprotected voidTypeSerializerBase._generateTypeId(WritableTypeId idMetadata) Helper method that will generate type id to use, if not already passed.AsDeductionTypeSerializer.writeTypePrefix(JsonGenerator g, WritableTypeId idMetadata) TypeSerializerBase.writeTypePrefix(JsonGenerator g, WritableTypeId idMetadata) AsDeductionTypeSerializer.writeTypeSuffix(JsonGenerator g, WritableTypeId idMetadata) TypeSerializerBase.writeTypeSuffix(JsonGenerator g, WritableTypeId idMetadata) -
Uses of WritableTypeId in com.fasterxml.jackson.databind.ser.std
Methods in com.fasterxml.jackson.databind.ser.std that return WritableTypeIdModifier and TypeMethodDescriptionprotected final WritableTypeIdBeanSerializerBase._typeIdDef(TypeSerializer typeSer, Object bean, JsonToken valueShape)