ObjectMapper instance to be used for data binding, as
well as accessing it.
| Modifier and Type | Field and Description |
|---|---|
| protected final Annotations[] | _defaultAnnotationsToUse
Annotations set to use by default; overridden by explicit call
to |
| protected volatile MAPPER | _defaultMapper
If no mapper was specified when constructed, and no configuration calls are made, a default mapper is constructed. |
| protected volatile MAPPER | _mapper
Mapper provider was constructed with if any, or that was constructed due to a call to explicitly configure mapper. |
| protected Class | _xmlBindIntrospectorClass
To support optional dependency to Jackson Jakarta XmlBind annotations module (needed iff Jakarta XmlBind annotations are used for configuration) |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract AnnotationIntrospector | |
| protected final void | |
| public final void | |
| public final void | |
| public final void | |
| public final void | |
| public abstract MAPPER | |
| public abstract MAPPER | |
| protected abstract MAPPER | 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. |
| public final void | |
| public final void |
| _defaultAnnotationsToUse | back to summary |
|---|---|
| protected final Annotations[] _defaultAnnotationsToUse Annotations set to use by default; overridden by explicit call
to | |
| _defaultMapper | back to summary |
|---|---|
| protected volatile MAPPER _defaultMapper If no mapper was specified when constructed, and no configuration calls are made, a default mapper is constructed. The difference between default mapper and regular one is that default mapper is only used if no mapper is found via provider lookup. | |
| _mapper | back to summary |
|---|---|
| protected volatile MAPPER _mapper Mapper provider was constructed with if any, or that was constructed due to a call to explicitly configure mapper. If defined (explicitly or implicitly) it will be used, instead of using provider-based lookup. | |
| _xmlBindIntrospectorClass | back to summary |
|---|---|
| protected Class<? extends AnnotationIntrospector> _xmlBindIntrospectorClass To support optional dependency to Jackson Jakarta XmlBind annotations module (needed iff Jakarta XmlBind annotations are used for configuration) | |
| MapperConfiguratorBase | back to summary |
|---|---|
| public MapperConfiguratorBase(MAPPER mapper, Annotations[] defaultAnnotations) | |
| _resolveIntrospectors | back to summary |
|---|---|
| protected abstract AnnotationIntrospector _resolveIntrospectors(Annotations[] annotationsToUse) | |
| _setAnnotations | back to summary |
|---|---|
| protected final void _setAnnotations(ObjectMapper mapper, Annotations[] annotationsToUse) | |
| configure | back to summary |
|---|---|
| public final void configure(DeserializationFeature f, boolean state) | |
| configure | back to summary |
|---|---|
| public final void configure(SerializationFeature f, boolean state) | |
| configure | back to summary |
|---|---|
| public final void configure(JsonParser. | |
| configure | back to summary |
|---|---|
| public final void configure(JsonGenerator. | |
| getConfiguredMapper | back to summary |
|---|---|
| public abstract MAPPER getConfiguredMapper() Method that locates, configures and returns | |
| getDefaultMapper | back to summary |
|---|---|
| public abstract MAPPER getDefaultMapper() | |
| mapper | back to summary |
|---|---|
| protected abstract MAPPER 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. | |
| setAnnotationsToUse | back to summary |
|---|---|
| public final void setAnnotationsToUse(Annotations[] annotationsToUse) | |
| setMapper | back to summary |
|---|---|
| public final void setMapper(MAPPER m) | |