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

## Uses of Class
org.codehaus.jackson.ObjectCodec

- Packages that use ObjectCodec
  Package | Description
  --- | ---
  org.codehaus.jackson | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonParser`) instances.
  org.codehaus.jackson.impl | Parser and generator implementation classes that Jackson defines and uses.
  org.codehaus.jackson.map | Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via `ObjectMapper` class, as well as convenience methods included in `JsonParser`
  org.codehaus.jackson.node | Contains concrete `JsonNode` implementations Jackson uses for the Tree model.
  org.codehaus.jackson.smile | Package that contains experimental implementation of "Binary-Encoded JSON-Like" data format handlers (parser, generator, factory produce both, supporting constants).
  org.codehaus.jackson.util | Utility classes used by Jackson Core functionality.

- - ### Uses of ObjectCodec in org.codehaus.jackson

    Fields in org.codehaus.jackson declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | JsonFactory.`_objectCodec` Object that implements conversion functionality between Java objects and JSON content.

    Methods in org.codehaus.jackson that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `abstract ObjectCodec` | JsonParser.`getCodec()` Accessor for `ObjectCodec` associated with this parser, if any.
    `abstract ObjectCodec` | JsonGenerator.`getCodec()` Method for accessing the object used for writing Java object as Json content (using method `JsonGenerator.writeObject(java.lang.Object)`).
    `ObjectCodec` | JsonFactory.`getCodec()`

    Methods in org.codehaus.jackson with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | JsonParser.`setCodec(ObjectCodec c)` Setter that allows defining `ObjectCodec` associated with this parser, if any.
    `abstract JsonGenerator` | JsonGenerator.`setCodec(ObjectCodec oc)` Method that can be called to set or reset the object to use for writing Java objects as JsonContent (using method `JsonGenerator.writeObject(java.lang.Object)`).
    `JsonFactory` | JsonFactory.`setCodec(ObjectCodec oc)` Method for associating a `ObjectCodec` (typically a `ObjectMapper`) with this factory (and more importantly, parsers and generators it constructs).

    Constructors in org.codehaus.jackson with parameters of type ObjectCodec
    Constructor and Description
    `JsonFactory(ObjectCodec oc)`

  - ### Uses of ObjectCodec in org.codehaus.jackson.impl

    Fields in org.codehaus.jackson.impl declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | Utf8StreamParser.`_objectCodec` Codec used for data binding when (if) requested; typically full `ObjectMapper`, but that abstract is not part of core package.
    `protected ObjectCodec` | ReaderBasedParser.`_objectCodec`
    `protected ObjectCodec` | JsonGeneratorBase.`_objectCodec`

    Methods in org.codehaus.jackson.impl that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | Utf8StreamParser.`getCodec()`
    `ObjectCodec` | ReaderBasedParser.`getCodec()`
    `ObjectCodec` | JsonGeneratorBase.`getCodec()`

    Methods in org.codehaus.jackson.impl with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | ByteSourceBootstrapper.`constructParser(int features, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols)`
    `void` | Utf8StreamParser.`setCodec(ObjectCodec c)`
    `void` | ReaderBasedParser.`setCodec(ObjectCodec c)`
    `JsonGenerator` | JsonGeneratorBase.`setCodec(ObjectCodec oc)`

    Constructors in org.codehaus.jackson.impl with parameters of type ObjectCodec
    Constructor and Description
    `JsonGeneratorBase(int features, ObjectCodec codec)`
    `ReaderBasedParser(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st)`
    `Utf8Generator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out)`
    `Utf8Generator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)`
    `Utf8StreamParser(IOContext ctxt, int features, InputStream in, ObjectCodec codec, BytesToNameCanonicalizer sym, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)`
    `WriterBasedGenerator(IOContext ctxt, int features, ObjectCodec codec, Writer w)`

  - ### Uses of ObjectCodec in org.codehaus.jackson.map

    Subclasses of ObjectCodec in org.codehaus.jackson.map
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectMapper` This mapper (or, data binder, or codec) provides functionality for converting between Java objects (instances of JDK provided core classes, beans), and matching JSON constructs.
    `class` | `ObjectReader` Builder object that can be used for per-serialization configuration of deserialization parameters, such as root type to use or object to update (instead of constructing new instance).

  - ### Uses of ObjectCodec in org.codehaus.jackson.node

    Fields in org.codehaus.jackson.node declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | TreeTraversingParser.`_objectCodec`

    Methods in org.codehaus.jackson.node that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | TreeTraversingParser.`getCodec()`

    Methods in org.codehaus.jackson.node with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `void` | TreeTraversingParser.`setCodec(ObjectCodec c)`

    Constructors in org.codehaus.jackson.node with parameters of type ObjectCodec
    Constructor and Description
    `TreeTraversingParser(JsonNode n, ObjectCodec codec)`

  - ### Uses of ObjectCodec in org.codehaus.jackson.smile

    Fields in org.codehaus.jackson.smile declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | SmileParser.`_objectCodec` Codec used for data binding when (if) requested.

    Methods in org.codehaus.jackson.smile that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | SmileParser.`getCodec()`

    Methods in org.codehaus.jackson.smile with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `SmileParser` | SmileParserBootstrapper.`constructParser(int generalParserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer rootByteSymbols)`
    `void` | SmileParser.`setCodec(ObjectCodec c)`

    Constructors in org.codehaus.jackson.smile with parameters of type ObjectCodec
    Constructor and Description
    `SmileFactory(ObjectCodec oc)`
    `SmileGenerator(IOContext ctxt, int jsonFeatures, int smileFeatures, ObjectCodec codec, OutputStream out)`
    `SmileGenerator(IOContext ctxt, int jsonFeatures, int smileFeatures, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int offset, boolean bufferRecyclable)`
    `SmileParser(IOContext ctxt, int parserFeatures, int smileFeatures, ObjectCodec codec, BytesToNameCanonicalizer sym, InputStream in, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)`

  - ### Uses of ObjectCodec in org.codehaus.jackson.util

    Fields in org.codehaus.jackson.util declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | TokenBuffer.Parser.`_codec`
    `protected ObjectCodec` | TokenBuffer.`_objectCodec` Object codec to use for stream-based object conversion through parser/generator interfaces.

    Methods in org.codehaus.jackson.util that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | TokenBuffer.`getCodec()`
    `ObjectCodec` | TokenBuffer.Parser.`getCodec()`
    `ObjectCodec` | JsonParserDelegate.`getCodec()`
    `ObjectCodec` | JsonGeneratorDelegate.`getCodec()`

    Methods in org.codehaus.jackson.util with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | TokenBuffer.`asParser(ObjectCodec codec)` Method used to create a `JsonParser` that can read contents stored in this buffer.
    `JsonGenerator` | TokenBuffer.`setCodec(ObjectCodec oc)`
    `void` | TokenBuffer.Parser.`setCodec(ObjectCodec c)`
    `void` | JsonParserDelegate.`setCodec(ObjectCodec c)`
    `JsonGenerator` | JsonGeneratorDelegate.`setCodec(ObjectCodec oc)`

    Constructors in org.codehaus.jackson.util with parameters of type ObjectCodec
    Constructor and Description
    `TokenBuffer.Parser(TokenBuffer.Segment firstSeg, ObjectCodec codec)`
    `TokenBuffer(ObjectCodec codec)`