Interface MapperBuilderDecorator<M extends ObjectMapper, B extends MapperBuilder<M,B>>

All Superinterfaces:
Decorator<B>
All Known Implementing Classes:
CompositeMapperBuilderDecorator, DateTimeFeatureDecorator, EnumFeatureDecorator, JsonNodeFeatureDecorator, MapperFeatureDecorator, PrettyPrintingDecorator, SerializationFeatureDecorator

public interface MapperBuilderDecorator<M extends ObjectMapper, B extends MapperBuilder<M,B>> extends Decorator<B>
Decorates the MapperBuilder used by a AbstractCompositeJsonFormatter to create an ObjectMapper.

This allows you to customize the mapper used by the formatters.

Implementations must be idempotent. The decorator configured on a formatter is called each time a formatter is started, and there is no way to 'un-decorate' the mapper when the formatter is stopped. So, the mapper could be decorated multiple times if the formatter is restarted.