Uses of Class
tools.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 those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Package that contains standard value and key deserializer implementations
Jackson uses for its own public types.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver
.Utility classes for Mapper package.
-
Uses of TokenBuffer in tools.jackson.databind
Methods in tools.jackson.databind that return TokenBufferModifier and TypeMethodDescriptionDeserializationContext.bufferAsCopyOfValue
(JsonParser p) Convenience method, equivalent to:final TokenBuffer
DeserializationContext.bufferForInputBuffering()
Convenience method that is equivalent to:DeserializationContext.bufferForInputBuffering
(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)SerializationContext.bufferForValueConversion()
Specialized factory method used when we are converting values and do not typically have or use "real" parsers or generators. -
Uses of TokenBuffer in tools.jackson.databind.deser.bean
Methods in tools.jackson.databind.deser.bean with parameters of type TokenBufferModifier and TypeMethodDescriptionprotected ValueDeserializer<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 void
BeanDeserializer._handleNullFromPropsBasedCreator
(JsonParser p, DeserializationContext ctxt, TokenBuffer unknown, List<tools.jackson.databind.deser.bean.BeanDeserializer.BeanReferring> referrings) protected Object
BuilderBasedDeserializer.deserializeWithUnwrapped
(JsonParser p, DeserializationContext ctxt, Object builder, TokenBuffer tokens) protected Object
BeanDeserializerBase.handlePolymorphic
(JsonParser p, DeserializationContext ctxt, 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.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 tools.jackson.databind.deser.impl
Methods in tools.jackson.databind.deser.impl with parameters of type TokenBufferModifier and TypeMethodDescriptionUnwrappedPropertyHandler.processUnwrapped
(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) UnwrappedPropertyHandler.processUnwrappedCreatorProperties
(JsonParser originalParser, DeserializationContext ctxt, PropertyValueBuffer values, TokenBuffer buffered) Constructors in tools.jackson.databind.deser.impl with parameters of type TokenBufferModifierConstructorDescriptionprotected
ExternalTypeHandler
(JavaType beanType, tools.jackson.databind.deser.impl.ExternalTypeHandler.ExtTypedProperty[] properties, Map<String, Object> nameToPropertyIndex, String[] typeIds, TokenBuffer[] tokens) -
Uses of TokenBuffer in tools.jackson.databind.deser.jackson
Methods in tools.jackson.databind.deser.jackson that return TokenBufferModifier and TypeMethodDescriptionTokenBufferDeserializer.deserialize
(JsonParser p, DeserializationContext ctxt) -
Uses of TokenBuffer in tools.jackson.databind.jsontype.impl
Methods in tools.jackson.databind.jsontype.impl with parameters of type TokenBufferModifier and TypeMethodDescriptionprotected Object
AsPropertyTypeDeserializer._deserializeTypedForId
(JsonParser p, DeserializationContext ctxt, TokenBuffer tb, String typeId) protected Object
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl
(JsonParser p, DeserializationContext ctxt, TokenBuffer tb, String priorFailureMsg) -
Uses of TokenBuffer in tools.jackson.databind.ser.jackson
Methods in tools.jackson.databind.ser.jackson with parameters of type TokenBufferModifier and TypeMethodDescriptionvoid
TokenBufferSerializer.serialize
(TokenBuffer value, JsonGenerator jgen, SerializationContext provider) final void
TokenBufferSerializer.serializeWithType
(TokenBuffer value, JsonGenerator g, SerializationContext ctxt, 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!) -
Uses of TokenBuffer in tools.jackson.databind.util
Fields in tools.jackson.databind.util declared as TokenBufferMethods in tools.jackson.databind.util that return TokenBufferModifier and TypeMethodDescriptionTokenBuffer.append
(TokenBuffer other) Helper method that will append contents of given buffer into this buffer.TokenBuffer.deserialize
(JsonParser p, DeserializationContext ctxt) Helper method used by standard deserializer.static TokenBuffer
TokenBuffer.forBuffering
(JsonParser p, ObjectReadContext ctxt) Specialized factory method used when we are specifically buffering contents of a token stream for further processing.TokenBuffer.forceUseOfBigDecimal
(boolean b) static TokenBuffer
TokenBuffer.forGeneration()
Specialized factory method used when we are generating token stream for further processing without tokens coming from specific input token stream.TokenBuffer.overrideParentContext
(TokenStreamContext ctxt) Method that allows explicitly specifying parent parse context to associate with contents of this buffer.TokenBuffer.Parser.streamReadInputSource()
Methods in tools.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.Constructors in tools.jackson.databind.util with parameters of type TokenBufferModifierConstructorDescriptionParser
(ObjectReadContext readCtxt, TokenBuffer source, TokenBuffer.Segment firstSeg, boolean hasNativeTypeIds, boolean hasNativeObjectIds, TokenStreamContext parentContext, StreamReadConstraints streamReadConstraints)