## Uses of Class
org.codehaus.jackson.map.ObjectMapper

- Packages that use ObjectMapper
  Package | Description
  --- | ---
  org.codehaus.jackson.jaxrs | Jackson-based JAX-RS provider that can automatically serialize and deserialize resources for JSON content type (MediaType).
  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`

- - ### Uses of ObjectMapper in org.codehaus.jackson.jaxrs

    Fields in org.codehaus.jackson.jaxrs declared as ObjectMapper
    Modifier and Type | Field and Description
    --- | ---
    `protected ObjectMapper` | MapperConfigurator.`_defaultMapper` If no mapper was specified when constructed, and no configuration calls are made, a default mapper is constructed.
    `protected ObjectMapper` | MapperConfigurator.`_mapper` Mapper provider was constructed with if any, or that was constructed due to a call to explicitly configure mapper.

    Methods in org.codehaus.jackson.jaxrs that return ObjectMapper
    Modifier and Type | Method and Description
    --- | ---
    `ObjectMapper` | MapperConfigurator.`getConfiguredMapper()` Method that locates, configures and returns `ObjectMapper` to use
    `ObjectMapper` | MapperConfigurator.`getDefaultMapper()`
    `ObjectMapper` | JacksonJsonProvider.`locateMapper(Class<?> type, MediaType mediaType)` Method called to locate `ObjectMapper` to use for serialization and deserialization.
    `protected ObjectMapper` | MapperConfigurator.`mapper()` Helper method that will ensure that there is a configurable non-default mapper (constructing an instance if one didn't yet exit), and return that mapper.

    Methods in org.codehaus.jackson.jaxrs with parameters of type ObjectMapper
    Modifier and Type | Method and Description
    --- | ---
    `protected Class<?>` | JacksonJsonProvider.`_findView(ObjectMapper mapper, Annotation[] annotations)`
    `protected void` | MapperConfigurator.`_setAnnotations(ObjectMapper mapper, Annotations[] annotationsToUse)`
    `void` | MapperConfigurator.`setMapper(ObjectMapper m)`
    `void` | JacksonJsonProvider.`setMapper(ObjectMapper m)` Method that can be used to directly define `ObjectMapper` to use for serialization and deserialization; if null, will use the standard provider discovery from context instead.

    Constructors in org.codehaus.jackson.jaxrs with parameters of type ObjectMapper
    Constructor and Description
    `JacksonJaxbJsonProvider(ObjectMapper mapper, Annotations[] annotationsToUse)` Constructor to use when a custom mapper (usually components like serializer/deserializer factories that have been configured) is to be used.
    `JacksonJsonProvider(ObjectMapper mapper)`
    `JacksonJsonProvider(ObjectMapper mapper, Annotations[] annotationsToUse)` Constructor to use when a custom mapper (usually components like serializer/deserializer factories that have been configured) is to be used.
    `MapperConfigurator(ObjectMapper mapper, Annotations[] defAnnotations)`

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

    Methods in org.codehaus.jackson.map that return ObjectMapper
    Modifier and Type | Method and Description
    --- | ---
    `ObjectMapper` | ObjectMapper.`configure(DeserializationConfig.Feature f, boolean state)` Method for changing state of an on/off deserialization feature for this object mapper.
    `ObjectMapper` | ObjectMapper.`configure(JsonGenerator.Feature f, boolean state)` Method for changing state of an on/off `JsonGenerator` feature for `JsonFactory` instance this object mapper uses.
    `ObjectMapper` | ObjectMapper.`configure(JsonParser.Feature f, boolean state)` Method for changing state of an on/off `JsonParser` feature for `JsonFactory` instance this object mapper uses.
    `ObjectMapper` | ObjectMapper.`configure(SerializationConfig.Feature f, boolean state)` Method for changing state of an on/off serialization feature for this object mapper.
    `ObjectMapper` | ObjectMapper.`disable(DeserializationConfig.Feature... f)` Method for enabling specified `DeserializationConfig` features.
    `ObjectMapper` | ObjectMapper.`disable(SerializationConfig.Feature... f)` Method for enabling specified `DeserializationConfig` features.
    `ObjectMapper` | ObjectMapper.`disableDefaultTyping()` Method for disabling automatic inclusion of type information; if so, only explicitly annotated types (ones with `JsonTypeInfo`) will have additional embedded type information.
    `ObjectMapper` | ObjectMapper.`enable(DeserializationConfig.Feature... f)` Method for enabling specified `DeserializationConfig` features.
    `ObjectMapper` | ObjectMapper.`enable(SerializationConfig.Feature... f)` Method for enabling specified `DeserializationConfig` features.
    `ObjectMapper` | ObjectMapper.`enableDefaultTyping()` Convenience method that is equivalent to calling
    `ObjectMapper` | ObjectMapper.`enableDefaultTyping(ObjectMapper.DefaultTyping dti)` Convenience method that is equivalent to calling
    `ObjectMapper` | ObjectMapper.`enableDefaultTyping(ObjectMapper.DefaultTyping applicability, JsonTypeInfo.As includeAs)` Method for enabling automatic inclusion of type information, needed for proper deserialization of polymorphic types (unless types have been annotated with `JsonTypeInfo`).
    `ObjectMapper` | ObjectMapper.`enableDefaultTypingAsProperty(ObjectMapper.DefaultTyping applicability, String propertyName)` Method for enabling automatic inclusion of type information -- needed for proper deserialization of polymorphic types (unless types have been annotated with `JsonTypeInfo`) -- using "As.PROPERTY" inclusion mechanism and specified property name to use for inclusion (default being "@class" since default type information always uses class name as type identifier)
    `ObjectMapper` | MappingJsonFactory.`getCodec()` We'll override the method to return more specific type; co-variance helps here
    `ObjectMapper` | ObjectMapper.`setAnnotationIntrospector(AnnotationIntrospector ai)` Method for changing `AnnotationIntrospector` used by this mapper instance for both serialization and deserialization
    `ObjectMapper` | ObjectMapper.`setDefaultTyping(TypeResolverBuilder<?> typer)` Method for enabling automatic inclusion of type information, using specified handler object for determining which types this affects, as well as details of how information is embedded.
    `ObjectMapper` | ObjectMapper.`setDeserializationConfig(DeserializationConfig cfg)` Method for replacing the shared default deserialization configuration object.
    `ObjectMapper` | ObjectMapper.`setDeserializerProvider(DeserializerProvider p)` Method for setting specific `DeserializerProvider` to use for handling caching of `JsonDeserializer` instances.
    `ObjectMapper` | ObjectMapper.`setInjectableValues(InjectableValues injectableValues)`
    `ObjectMapper` | ObjectMapper.`setNodeFactory(JsonNodeFactory f)` Method for specifying `JsonNodeFactory` to use for constructing root level tree nodes (via method `createObjectNode()`
    `ObjectMapper` | ObjectMapper.`setPropertyNamingStrategy(PropertyNamingStrategy s)` Method for setting custom property naming strategy to use.
    `ObjectMapper` | ObjectMapper.`setSerializationConfig(SerializationConfig cfg)` Method for replacing the shared default serialization configuration object.
    `ObjectMapper` | ObjectMapper.`setSerializationInclusion(JsonSerialize.Inclusion incl)` Method for setting defalt POJO property inclusion strategy for serialization.
    `ObjectMapper` | ObjectMapper.`setSerializerFactory(SerializerFactory f)` Method for setting specific `SerializerFactory` to use for constructing (bean) serializers.
    `ObjectMapper` | ObjectMapper.`setSerializerProvider(SerializerProvider p)` Method for setting specific `SerializerProvider` to use for handling caching of `JsonSerializer` instances.
    `ObjectMapper` | ObjectMapper.`setTypeFactory(TypeFactory f)` Method that can be used to override `TypeFactory` instance used by this mapper.
    `ObjectMapper` | ObjectMapper.`setVisibility(JsonMethod forMethod, JsonAutoDetect.Visibility visibility)` Convenience method that allows changing configuration for underlying `VisibilityChecker`s, to change details of what kinds of properties are auto-detected.
    `ObjectMapper` | ObjectMapper.`withModule(Module module)` Fluent-style alternative to `registerModule(org.codehaus.jackson.map.Module)`; functionally equivalent to:

    Constructors in org.codehaus.jackson.map with parameters of type ObjectMapper
    Constructor and Description
    `MappingJsonFactory(ObjectMapper mapper)`
    `ObjectReader(ObjectMapper mapper, DeserializationConfig config)` Constructor used by `ObjectMapper` for initial instantiation
    `ObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)`
    `ObjectWriter(ObjectMapper mapper, SerializationConfig config)` Alternative constructor for initial instantiation.
    `ObjectWriter(ObjectMapper mapper, SerializationConfig config, FormatSchema s)` Alternative constructor for initial instantiation.
    `ObjectWriter(ObjectMapper mapper, SerializationConfig config, JavaType rootType, PrettyPrinter pp)` Constructor used by `ObjectMapper` for initial instantiation