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 importantlyJsonFactoryused 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.com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.json com.fasterxml.jackson.databind.node Contains concreteJsonNodeimplementations Jackson uses for the Tree model.com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of ObjectCodec in com.fasterxml.jackson.core
Fields in com.fasterxml.jackson.core declared as ObjectCodec Modifier and Type Field Description protected ObjectCodecJsonFactory. _objectCodecObject that implements conversion functionality between Java objects and JSON content.Methods in com.fasterxml.jackson.core that return ObjectCodec Modifier and Type Method Description protected ObjectCodecJsonParser. _codec()ObjectCodecJsonFactory. getCodec()abstract ObjectCodecJsonGenerator. getCodec()Method for accessing the object used for writing Java object as JSON content (using methodJsonGenerator.writeObject(java.lang.Object)).abstract ObjectCodecJsonParser. getCodec()Accessor forObjectCodecassociated with this parser, if any.Methods in com.fasterxml.jackson.core with parameters of type ObjectCodec Modifier and Type Method Description JsonFactoryJsonFactory. setCodec(ObjectCodec oc)Method for associating aObjectCodec(typically acom.fasterxml.jackson.databind.ObjectMapper) with this factory (and more importantly, parsers and generators it constructs).abstract JsonGeneratorJsonGenerator. setCodec(ObjectCodec oc)Method that can be called to set or reset the object to use for writing Java objects as JsonContent (using methodJsonGenerator.writeObject(java.lang.Object)).abstract voidJsonParser. setCodec(ObjectCodec oc)Setter that allows definingObjectCodecassociated with this parser, if any.JsonParserTreeNode. traverse(ObjectCodec codec)Same asTreeNode.traverse(), but additionally passesObjectCodecto use ifJsonParser.readValueAs(Class)is used (otherwise caller must callJsonParser.setCodec(com.fasterxml.jackson.core.ObjectCodec)on response explicitly).Constructors in com.fasterxml.jackson.core with parameters of type ObjectCodec Constructor 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 Description protected ObjectCodecGeneratorBase. _objectCodecMethods in com.fasterxml.jackson.core.base that return ObjectCodec Modifier and Type Method Description ObjectCodecGeneratorBase. getCodec()Methods in com.fasterxml.jackson.core.base with parameters of type ObjectCodec Modifier and Type Method Description JsonGeneratorGeneratorBase. setCodec(ObjectCodec oc)Constructors in com.fasterxml.jackson.core.base with parameters of type ObjectCodec Constructor 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 Description protected ObjectCodecReaderBasedJsonParser. _objectCodecprotected ObjectCodecUTF8DataInputJsonParser. _objectCodecCodec used for data binding when (if) requested; typically fullObjectMapper, but that abstract is not part of core package.protected ObjectCodecUTF8StreamJsonParser. _objectCodecCodec used for data binding when (if) requested; typically fullObjectMapper, but that abstract is not part of core package.Methods in com.fasterxml.jackson.core.json that return ObjectCodec Modifier and Type Method Description ObjectCodecReaderBasedJsonParser. getCodec()ObjectCodecUTF8DataInputJsonParser. getCodec()ObjectCodecUTF8StreamJsonParser. getCodec()Methods in com.fasterxml.jackson.core.json with parameters of type ObjectCodec Modifier and Type Method Description JsonParserByteSourceJsonBootstrapper. constructParser(int parserFeatures, ObjectCodec codec, ByteQuadsCanonicalizer rootByteSymbols, CharsToNameCanonicalizer rootCharSymbols, int factoryFeatures)voidReaderBasedJsonParser. setCodec(ObjectCodec c)voidUTF8DataInputJsonParser. setCodec(ObjectCodec c)voidUTF8StreamJsonParser. setCodec(ObjectCodec c)Constructors in com.fasterxml.jackson.core.json with parameters of type ObjectCodec Constructor Description JsonGeneratorImpl(IOContext ctxt, int features, ObjectCodec codec)ReaderBasedJsonParser(IOContext ctxt, int features, Reader r, ObjectCodec codec, CharsToNameCanonicalizer st)Constructor called when input comes as aReader, 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)Constructor called when caller wants to provide input buffer directly (or needs to, in case of bootstrapping having read some of contents) 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)Deprecated.UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)Deprecated.UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, char quoteChar)UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, char quoteChar, 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)Deprecated.Since 2.10UTF8StreamJsonParser(IOContext ctxt, int features, InputStream in, ObjectCodec codec, ByteQuadsCanonicalizer sym, byte[] inputBuffer, int start, int end, int bytesPreProcessed, boolean bufferRecyclable)Constructor called when caller wants to provide input buffer directly (or needs to, in case of bootstrapping having read some of contents) and it may or may not be recyclable use standard recycle context.WriterBasedJsonGenerator(IOContext ctxt, int features, ObjectCodec codec, Writer w)Deprecated.WriterBasedJsonGenerator(IOContext ctxt, int features, ObjectCodec codec, Writer w, char quoteChar) -
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 Description ObjectCodecNonBlockingJsonParserBase. getCodec()Methods in com.fasterxml.jackson.core.json.async with parameters of type ObjectCodec Modifier and Type Method Description voidNonBlockingJsonParserBase. 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 Description ObjectCodecJsonGeneratorDelegate. getCodec()ObjectCodecJsonParserDelegate. getCodec()Methods in com.fasterxml.jackson.core.util with parameters of type ObjectCodec Modifier and Type Method Description JsonGeneratorJsonGeneratorDelegate. setCodec(ObjectCodec oc)voidJsonParserDelegate. setCodec(ObjectCodec c) -
Uses of ObjectCodec in com.fasterxml.jackson.databind
Subclasses of ObjectCodec in com.fasterxml.jackson.databind Modifier and Type Class Description classObjectMapperObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Plain Old Java Objects), or to and from a general-purpose JSON Tree Model (JsonNode), as well as related functionality for performing conversions.classObjectReaderBuilder 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).Methods in com.fasterxml.jackson.databind with type parameters of type ObjectCodec Modifier and Type Method Description <C extends ObjectCodec>
CModule.SetupContext. getOwner()Fallback access method that allows modules to refer to theObjectMapperthat provided this context.Methods in com.fasterxml.jackson.databind with parameters of type ObjectCodec Modifier and Type Method Description TokenBufferSerializerProvider. bufferForValueConversion(ObjectCodec oc)Specialized factory method used when we are converting values and do not typically have or use "real" parsers or generators. -
Uses of ObjectCodec in com.fasterxml.jackson.databind.json
Subclasses of ObjectCodec in com.fasterxml.jackson.databind.json Modifier and Type Class Description classJsonMapperJSON-format specificObjectMapperimplementation. -
Uses of ObjectCodec in com.fasterxml.jackson.databind.node
Fields in com.fasterxml.jackson.databind.node declared as ObjectCodec Modifier and Type Field Description protected ObjectCodecTreeTraversingParser. _objectCodecMethods in com.fasterxml.jackson.databind.node that return ObjectCodec Modifier and Type Method Description ObjectCodecTreeTraversingParser. getCodec()Methods in com.fasterxml.jackson.databind.node with parameters of type ObjectCodec Modifier and Type Method Description voidTreeTraversingParser. setCodec(ObjectCodec c)JsonParserBaseJsonNode. traverse(ObjectCodec codec)Constructors in com.fasterxml.jackson.databind.node with parameters of type ObjectCodec Constructor Description TreeTraversingParser(JsonNode n, ObjectCodec codec) -
Uses of ObjectCodec in com.fasterxml.jackson.databind.util
Fields in com.fasterxml.jackson.databind.util declared as ObjectCodec Modifier and Type Field Description protected ObjectCodecTokenBuffer.Parser. _codecprotected ObjectCodecTokenBuffer. _objectCodecObject codec to use for stream-based object conversion through parser/generator interfaces.Methods in com.fasterxml.jackson.databind.util that return ObjectCodec Modifier and Type Method Description ObjectCodecTokenBuffer. getCodec()ObjectCodecTokenBuffer.Parser. getCodec()Methods in com.fasterxml.jackson.databind.util with parameters of type ObjectCodec Modifier and Type Method Description JsonParserTokenBuffer. asParser(ObjectCodec codec)Method used to create aJsonParserthat can read contents stored in this buffer.voidTokenBuffer.Parser. setCodec(ObjectCodec c)JsonGeneratorTokenBuffer. setCodec(ObjectCodec oc)Constructors in com.fasterxml.jackson.databind.util with parameters of type ObjectCodec Constructor Description Parser(TokenBuffer.Segment firstSeg, ObjectCodec codec, boolean hasNativeTypeIds, boolean hasNativeObjectIds)Deprecated.Parser(TokenBuffer.Segment firstSeg, ObjectCodec codec, boolean hasNativeTypeIds, boolean hasNativeObjectIds, JsonStreamContext parentContext)Deprecated.Parser(TokenBuffer.Segment firstSeg, ObjectCodec codec, boolean hasNativeTypeIds, boolean hasNativeObjectIds, JsonStreamContext parentContext, StreamReadConstraints streamReadConstraints)TokenBuffer(ObjectCodec codec, boolean hasNativeIds)
-