Uses of Class
com.fasterxml.jackson.databind.util.TokenBuffer
Packages that use TokenBuffer
Package
Description
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode
), as well as
writing Java Objects and trees as JSON.Contains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Contains public standard implementations of abstraction that
Jackson uses.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Utility classes for Mapper package.
-
Uses of TokenBuffer in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return TokenBufferModifier and TypeMethodDescriptionDeserializationContext.bufferAsCopyOfValue
(com.fasterxml.jackson.core.JsonParser p) Convenience method, equivalent to:final TokenBuffer
DeserializationContext.bufferForInputBuffering()
Convenience method that is equivalent to:DeserializationContext.bufferForInputBuffering
(com.fasterxml.jackson.core.JsonParser p) Factory method used for creatingTokenBuffer
to temporarily contain copy of content read from specified parser; usually for purpose of reading contents later on (possibly augmeneted with injected additional content)final TokenBuffer
SerializerProvider.bufferForValueConversion()
Specialized factory method used when we are converting values and do not typically have or use "real" parsers or generators.SerializerProvider.bufferForValueConversion
(com.fasterxml.jackson.core.ObjectCodec oc) Specialized factory method used when we are converting values and do not typically have or use "real" parsers or generators. -
Uses of TokenBuffer in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser with parameters of type TokenBufferModifier and TypeMethodDescriptionprotected JsonDeserializer
<Object> BeanDeserializerBase._findSubclassDeserializer
(DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) Helper method called to (try to) locate deserializer for given sub-type of type that this deserializer handles.protected Object
BuilderBasedDeserializer.deserializeWithUnwrapped
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Object builder, TokenBuffer tokens) protected Object
BeanDeserializerBase.handlePolymorphic
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, com.fasterxml.jackson.core.StreamReadConstraints streamReadConstraints, Object bean, TokenBuffer unknownTokens) Method called in cases where we may have polymorphic deserialization case: that is, type of Creator-constructed bean is not the type of deserializer itself.protected Object
BeanDeserializerBase.handlePolymorphic
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) Deprecated.protected Object
BeanDeserializerBase.handleUnknownProperties
(DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) Method called to handle set of one or more unknown properties, stored in their entirety in givenTokenBuffer
(as field entries, name and value). -
Uses of TokenBuffer in com.fasterxml.jackson.databind.deser.impl
Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type TokenBufferModifier and TypeMethodDescriptionUnwrappedPropertyHandler.processUnwrapped
(com.fasterxml.jackson.core.JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) Constructors in com.fasterxml.jackson.databind.deser.impl with parameters of type TokenBufferModifierConstructorDescriptionprotected
ExternalTypeHandler
(JavaType beanType, com.fasterxml.jackson.databind.deser.impl.ExternalTypeHandler.ExtTypedProperty[] properties, Map<String, Object> nameToPropertyIndex, String[] typeIds, TokenBuffer[] tokens) -
Uses of TokenBuffer in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std that return TokenBufferModifier and TypeMethodDescriptionTokenBufferDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt) -
Uses of TokenBuffer in com.fasterxml.jackson.databind.jsontype.impl
Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type TokenBufferModifier and TypeMethodDescriptionprotected Object
AsPropertyTypeDeserializer._deserializeTypedForId
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TokenBuffer tb, String typeId) protected Object
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TokenBuffer tb) Deprecated.protected Object
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, TokenBuffer tb, String priorFailureMsg) -
Uses of TokenBuffer in com.fasterxml.jackson.databind.ser.std
Methods in com.fasterxml.jackson.databind.ser.std with parameters of type TokenBufferModifier and TypeMethodDescriptionvoid
TokenBufferSerializer.serialize
(TokenBuffer value, com.fasterxml.jackson.core.JsonGenerator jgen, SerializerProvider provider) final void
TokenBufferSerializer.serializeWithType
(TokenBuffer value, com.fasterxml.jackson.core.JsonGenerator g, SerializerProvider provider, TypeSerializer typeSer) Implementing typed output for contents of a TokenBuffer is very tricky, since we do not know for sure what its contents might look like (or, rather, we do know when serializing, but not necessarily when deserializing!) One possibility would be to check the current token, and use that to determine if we would output JSON Array, Object or scalar value. -
Uses of TokenBuffer in com.fasterxml.jackson.databind.util
Methods in com.fasterxml.jackson.databind.util that return TokenBufferModifier and TypeMethodDescriptionTokenBuffer.append
(TokenBuffer other) Helper method that will append contents of given buffer into this buffer.static TokenBuffer
TokenBuffer.asCopyOfValue
(com.fasterxml.jackson.core.JsonParser p) Deprecated.Since 2.13: useDeserializationContext.bufferAsCopyOfValue(com.fasterxml.jackson.core.JsonParser)
instead.TokenBuffer.deserialize
(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt) Helper method used by standard deserializer.TokenBuffer.forceUseOfBigDecimal
(boolean b) TokenBuffer.overrideParentContext
(com.fasterxml.jackson.core.JsonStreamContext ctxt) Method that allows explicitly specifying parent parse context to associate with contents of this buffer.Methods in com.fasterxml.jackson.databind.util with parameters of type TokenBufferModifier and TypeMethodDescriptionTokenBuffer.append
(TokenBuffer other) Helper method that will append contents of given buffer into this buffer.
BeanDeserializerBase.handlePolymorphic(JsonParser, DeserializationContext, StreamReadConstraints, Object, TokenBuffer)