Interface JsonMapFormatVisitor
- All Superinterfaces:
JsonFormatVisitorWithSerializerProvider
- All Known Implementing Classes:
JsonMapFormatVisitor.Base
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDefault "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. -
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 afterkeyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.JavaType)to allow visiting of the value typeMethods inherited from interface com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWithSerializerProvider
getProvider, setProvider
-
Method Details
-
keyFormat
Visit method called to indicate type of keys of the Map type being visited- Throws:
JsonMappingException
-
valueFormat
Visit method called afterkeyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.JavaType)to allow visiting of the value type- Throws:
JsonMappingException
-