Class Serializers.Base
java.lang.Object
tools.jackson.databind.ser.Serializers.Base
- All Implemented Interfaces:
Serializers
- Direct Known Subclasses:
SimpleSerializers
- Enclosing interface:
Serializers
Basic
Serializers implementation that implements all methods but provides
no serializers. Its main purpose is to serve as a base class so that
sub-classes only need to override methods they need.-
Nested Class Summary
Nested classes/interfaces inherited from interface Serializers
Serializers.Base -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.fasterxml.jackson.annotation.JsonFormat.ValuecalculateEffectiveFormat(BeanDescription.Supplier beanDescRef, Class<?> baseType, com.fasterxml.jackson.annotation.JsonFormat.Value formatOverrides) Helper method for determining effective combination of formatting settings from combination of Class annotations and config overrides for type and possible per-property overrides (in this order of precedence from lowest to highest).
-
Constructor Details
-
Base
public Base()
-
-
Method Details
-
calculateEffectiveFormat
protected com.fasterxml.jackson.annotation.JsonFormat.Value calculateEffectiveFormat(BeanDescription.Supplier beanDescRef, Class<?> baseType, com.fasterxml.jackson.annotation.JsonFormat.Value formatOverrides) Helper method for determining effective combination of formatting settings from combination of Class annotations and config overrides for type and possible per-property overrides (in this order of precedence from lowest to highest).
-