Uses of Class org.codehaus.jackson.util.TokenBuffer (Jackson JSON Processor)
Date: 2013-07-14

## Uses of Class
org.codehaus.jackson.util.TokenBuffer

- Packages that use TokenBuffer
  Package | Description
  --- | ---
  org.codehaus.jackson.map.deser | Contains implementation classes of deserialization part of data binding.
  org.codehaus.jackson.map.deser.impl | Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.
  org.codehaus.jackson.map.deser.std | Contains public standard implementations of abstraction that Jackson uses.
  org.codehaus.jackson.map.jsontype.impl | Package that contains standard implementations for `TypeResolverBuilder` and `TypeIdResolver`.
  org.codehaus.jackson.map.ser.std |

- - ### Uses of TokenBuffer in org.codehaus.jackson.map.deser

    Methods in org.codehaus.jackson.map.deser with parameters of type TokenBuffer
    Modifier and Type | Method and Description
    --- | ---
    `protected JsonDeserializer<Object>` | BeanDeserializer.`_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` | BeanDeserializer.`handlePolymorphic(JsonParser jp, 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` | BeanDeserializer.`handleUnknownProperties(DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens)` Method called to handle set of one or more unknown properties, stored in their entirety in given `TokenBuffer` (as field entries, name and value).

  - ### Uses of TokenBuffer in org.codehaus.jackson.map.deser.impl

    Methods in org.codehaus.jackson.map.deser.impl with parameters of type TokenBuffer
    Modifier and Type | Method and Description
    --- | ---
    `Object` | UnwrappedPropertyHandler.`processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered)`

    Constructors in org.codehaus.jackson.map.deser.impl with parameters of type TokenBuffer
    Constructor and Description
    `ExternalTypeHandler(org.codehaus.jackson.map.deser.impl.ExternalTypeHandler.ExtTypedProperty[] properties, HashMap<String,Integer> nameToPropertyIndex, String[] typeIds, TokenBuffer[] tokens)`

  - ### Uses of TokenBuffer in org.codehaus.jackson.map.deser.std

    Methods in org.codehaus.jackson.map.deser.std that return TokenBuffer
    Modifier and Type | Method and Description
    --- | ---
    `TokenBuffer` | TokenBufferDeserializer.`deserialize(JsonParser jp, DeserializationContext ctxt)`

  - ### Uses of TokenBuffer in org.codehaus.jackson.map.jsontype.impl

    Methods in org.codehaus.jackson.map.jsontype.impl with parameters of type TokenBuffer
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | AsPropertyTypeDeserializer.`_deserializeTypedUsingDefaultImpl(JsonParser jp, DeserializationContext ctxt, TokenBuffer tb)`

  - ### Uses of TokenBuffer in org.codehaus.jackson.map.ser.std

    Methods in org.codehaus.jackson.map.ser.std with parameters of type TokenBuffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | TokenBufferSerializer.`serialize(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider)`
    `void` | TokenBufferSerializer.`serializeWithType(TokenBuffer value, JsonGenerator jgen, 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.