JsonFormatVisitorWithSerializerProvider
JsonMapFormatVisitor.Base
public interface JsonMapFormatVisitor extends JsonFormatVisitorWithSerializerProvider
Modifier and Type | Interface | Description |
---|---|---|
static class |
JsonMapFormatVisitor.Base |
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.
|
Modifier and Type | Method | Description |
---|---|---|
void |
keyFormat(JsonFormatVisitable handler,
JavaType keyType) |
Visit method called to indicate type of keys of the Map type
being visited
|
void |
valueFormat(JsonFormatVisitable handler,
JavaType valueType) |
Visit method called after
keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.JavaType) to allow visiting of
the value type |
getProvider, setProvider
void keyFormat(JsonFormatVisitable handler, JavaType keyType) throws JsonMappingException
JsonMappingException
void valueFormat(JsonFormatVisitable handler, JavaType valueType) throws JsonMappingException
keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.JavaType)
to allow visiting of
the value typeJsonMappingException
Copyright © 2008–2018. All rights reserved.