Jackson Glossary: ObjectCodec
Package: org.codehaus.jackson
Jar: jackson-core
Role
This is subset of ObjectMapper, core API needed for JsonParser to invoke data-binding functionality: part that has no dependencies to any types defined in jackson-mapper module.
As practical note all Jackson implementations of this type are also instances of ObjectMapper so upcasts are safe. This interface is mostly used to avoid cyclic dependencies between 'core' and 'mapper' jars.
Usage
Seldom used directly; mostly used by JsonParser to invoke data binding functionality offered by embedded ObjectMapper instance (when using MappingJsonFactory subtype of JsonFactory)
Implementations
ObjectMapper (and its subtypes) implement ObjectCodec
Back to Jackson Term Glossary
