Jackson Glossary: ObjectCodec

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


Back to Jackson Term Glossary


CategoryJackson CategoryJackson

ObjectCodec (last edited 2010-12-08 20:56:16 by TatuSaloranta)

Copyright ©2009 FasterXML, LLC