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, setProvider
void property(BeanProperty writer) throws JsonMappingException
JsonMappingException
void property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException
EnumMap
type) is being
traversed. With POJOs, property(BeanProperty)
is called instead.JsonMappingException
void optionalProperty(BeanProperty writer) throws JsonMappingException
JsonMappingException
void optionalProperty(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) throws JsonMappingException
JsonMappingException
Copyright © 2021 JBoss by Red Hat. All rights reserved.