Interface JsonFactoryDecorator

All Known Implementing Classes:
CborJsonFactoryDecorator, CharacterEscapesJsonFactoryDecorator, CompositeJsonFactoryDecorator, EscapeNonAsciiJsonFactoryDecorator, FeatureJsonFactoryDecorator, NullJsonFactoryDecorator, SmileJsonFactoryDecorator, YamlJsonFactoryDecorator

public interface JsonFactoryDecorator
Decorates the JsonFactory used by a AbstractCompositeJsonFormatter.

This allows you to customize the factory 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 factory when when formatter is stopped. So, the factory could be decorated multiple times if the formatter is restarted.