Module tools.jackson.databind
Class JsonMapFormatVisitor.Base
java.lang.Object
tools.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor.Base
- All Implemented Interfaces:
JsonMapFormatVisitor,WithGettableSerializationContext
- Enclosing interface:
- JsonMapFormatVisitor
Default "empty" implementation, useful as the base to start on;
especially as it is guaranteed to implement all the method
of the interface, even if new methods are getting added.
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.jackson.databind.jsonFormatVisitors.JsonMapFormatVisitor
JsonMapFormatVisitor.Base -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidkeyFormat(JsonFormatVisitable handler, JavaType keyType) Visit method called to indicate type of keys of the Map type being visitedvoidvalueFormat(JsonFormatVisitable handler, JavaType valueType) Visit method called afterJsonMapFormatVisitor.keyFormat(tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, tools.jackson.databind.JavaType)to allow visiting of the value type
-
Field Details
-
_context
-
-
Constructor Details
-
Base
-
-
Method Details
-
getContext
- Specified by:
getContextin interfaceWithGettableSerializationContext
-
keyFormat
Description copied from interface:JsonMapFormatVisitorVisit method called to indicate type of keys of the Map type being visited- Specified by:
keyFormatin interfaceJsonMapFormatVisitor
-
valueFormat
Description copied from interface:JsonMapFormatVisitorVisit method called afterJsonMapFormatVisitor.keyFormat(tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, tools.jackson.databind.JavaType)to allow visiting of the value type- Specified by:
valueFormatin interfaceJsonMapFormatVisitor
-