## Uses of Class
com.fasterxml.jackson.core.ObjectCodec

- Packages that use ObjectCodec
  Package | Description
  --- | ---
  com.fasterxml.jackson.core | Main public API classes of the core streaming JSON processor: most importantly `JsonFactory` used for constructing JSON parser (`JsonParser`) and generator (`JsonGenerator`) instances.
  com.fasterxml.jackson.core.base | Base classes used by concrete Parser and Generator implementations; contain functionality that is not specific to JSON or input abstraction (byte vs char).
  com.fasterxml.jackson.core.json | JSON-specific parser and generator implementation classes that Jackson defines and uses.
  com.fasterxml.jackson.core.json.async | Non-blocking ("async") JSON parser implementation.
  com.fasterxml.jackson.core.util | Utility classes used by Jackson Core functionality.

- - ### Uses of ObjectCodec in com.fasterxml.jackson.core

    Fields in com.fasterxml.jackson.core 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 com.fasterxml.jackson.core that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `protected ObjectCodec` | JsonParser.`_codec()`
    `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 com.fasterxml.jackson.core 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 `com.fasterxml.jackson.databind.ObjectMapper`) with this factory (and more importantly, parsers and generators it constructs).
    `JsonParser` | TreeNode.`traverse(ObjectCodec codec)` Same as `TreeNode.traverse()`, but additionally passes `ObjectCodec` to use if `JsonParser.readValueAs(Class)` is used (otherwise caller must call `JsonParser.setCodec(com.fasterxml.jackson.core.ObjectCodec)` on response explicitly).

    Constructors in com.fasterxml.jackson.core with parameters of type ObjectCodec
    Constructor and Description
    `JsonFactory(JsonFactory src, ObjectCodec codec)` Constructor used when copy()ing a factory instance.
    `JsonFactory(ObjectCodec oc)`

  - ### Uses of ObjectCodec in com.fasterxml.jackson.core.base

    Fields in com.fasterxml.jackson.core.base declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | GeneratorBase.`_objectCodec`

    Methods in com.fasterxml.jackson.core.base that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | GeneratorBase.`getCodec()`

    Methods in com.fasterxml.jackson.core.base with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `JsonGenerator` | GeneratorBase.`setCodec(ObjectCodec oc)`

    Constructors in com.fasterxml.jackson.core.base with parameters of type ObjectCodec
    Constructor and Description
    `GeneratorBase(int features, ObjectCodec codec)`
    `GeneratorBase(int features, ObjectCodec codec, JsonWriteContext ctxt)`

  - ### Uses of ObjectCodec in com.fasterxml.jackson.core.json

    Fields in com.fasterxml.jackson.core.json declared as ObjectCodec
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectCodec` | UTF8StreamJsonParser.`_objectCodec` Codec used for data binding when (if) requested; typically full `ObjectMapper`, but that abstract is not part of core package.
    `protected ObjectCodec` | UTF8DataInputJsonParser.`_objectCodec` Codec used for data binding when (if) requested; typically full `ObjectMapper`, but that abstract is not part of core package.
    `protected ObjectCodec` | ReaderBasedJsonParser.`_objectCodec`

    Methods in com.fasterxml.jackson.core.json that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | UTF8StreamJsonParser.`getCodec()`
    `ObjectCodec` | UTF8DataInputJsonParser.`getCodec()`
    `ObjectCodec` | ReaderBasedJsonParser.`getCodec()`

    Methods in com.fasterxml.jackson.core.json with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `JsonParser` | ByteSourceJsonBootstrapper.`constructParser(int parserFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols, int factoryFeatures)`
    `void` | UTF8StreamJsonParser.`setCodec(ObjectCodec c)`
    `void` | UTF8DataInputJsonParser.`setCodec(ObjectCodec c)`
    `void` | ReaderBasedJsonParser.`setCodec(ObjectCodec c)`

    Constructors in com.fasterxml.jackson.core.json with parameters of type ObjectCodec
    Constructor and Description
    `JsonGeneratorImpl(IOContext ctxt, int features, ObjectCodec codec)`
    `ReaderBasedJsonParser(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st)` Method called when input comes as a `Reader`, and buffer allocation can be done using default mechanism.
    `ReaderBasedJsonParser(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st, char[] inputBuffer, int start, int end, boolean bufferRecyclable)` Method called when caller wants to provide input buffer directly, and it may or may not be recyclable use standard recycle context.
    `UTF8DataInputJsonParser(IOContext ctxt, int features, DataInput inputData, ObjectCodec codec, ByteQuadsCanonicalizer sym, int firstByte)`
    `UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out)`
    `UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)`
    `UTF8StreamJsonParser(IOContext ctxt, int features, InputStream in, ObjectCodec codec, ByteQuadsCanonicalizer sym, byte[] inputBuffer, int start, int end, boolean bufferRecyclable)`
    `WriterBasedJsonGenerator(IOContext ctxt, int features, ObjectCodec codec, Writer w)`

  - ### Uses of ObjectCodec in com.fasterxml.jackson.core.json.async

    Methods in com.fasterxml.jackson.core.json.async that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | NonBlockingJsonParserBase.`getCodec()`

    Methods in com.fasterxml.jackson.core.json.async with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `void` | NonBlockingJsonParserBase.`setCodec(ObjectCodec c)`

  - ### Uses of ObjectCodec in com.fasterxml.jackson.core.util

    Methods in com.fasterxml.jackson.core.util that return ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `ObjectCodec` | JsonParserDelegate.`getCodec()`
    `ObjectCodec` | JsonGeneratorDelegate.`getCodec()`

    Methods in com.fasterxml.jackson.core.util with parameters of type ObjectCodec
    Modifier and Type | Method and Description
    --- | ---
    `void` | JsonParserDelegate.`setCodec(ObjectCodec c)`
    `JsonGenerator` | JsonGeneratorDelegate.`setCodec(ObjectCodec oc)`

Copyright © 2008–2018 FasterXML. All rights reserved.