public interface JsonObjectFormatVisitor extends JsonFormatVisitorWithSerializerProvider
EnumMap).| Modifier and Type | Interface and Description |
|---|---|
static class |
JsonObjectFormatVisitor.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 and Description |
|---|---|
void |
optionalProperty(BeanProperty writer) |
void |
optionalProperty(String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint) |
void |
property(BeanProperty writer)
Callback method called when a POJO property is being traversed.
|
void |
property(String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint)
Callback method called when a non-POJO property (typically something
like an Enum entry of
EnumMap type) is being
traversed. |
getProvider, setProvidervoid property(BeanProperty writer) throws JsonMappingException
JsonMappingExceptionvoid property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException
EnumMap type) is being
traversed. With POJOs, property(BeanProperty) is called instead.JsonMappingExceptionvoid optionalProperty(BeanProperty writer) throws JsonMappingException
JsonMappingExceptionvoid optionalProperty(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException
JsonMappingExceptionCopyright © 2008–2019 FasterXML. All rights reserved.