public interface JsonFormatVisitorWrapper extends JsonFormatVisitorWithSerializerProvider
In most cases it will make more sense to extend JsonFormatVisitorWrapper.Base
instead of directly implementing this interface.
| Modifier and Type | Interface and Description |
|---|---|
static class |
JsonFormatVisitorWrapper.Base
Empty "no-op" implementation of
JsonFormatVisitorWrapper, suitable for
sub-classing. |
| Modifier and Type | Method and Description |
|---|---|
JsonAnyFormatVisitor |
expectAnyFormat(JavaType type) |
JsonArrayFormatVisitor |
expectArrayFormat(JavaType type) |
JsonBooleanFormatVisitor |
expectBooleanFormat(JavaType type) |
JsonIntegerFormatVisitor |
expectIntegerFormat(JavaType type) |
JsonMapFormatVisitor |
expectMapFormat(JavaType type)
Method called when type is of Java
Map type, and will
be serialized as a JSON Object. |
JsonNullFormatVisitor |
expectNullFormat(JavaType type) |
JsonNumberFormatVisitor |
expectNumberFormat(JavaType type) |
JsonObjectFormatVisitor |
expectObjectFormat(JavaType type) |
JsonStringFormatVisitor |
expectStringFormat(JavaType type) |
getProvider, setProviderJsonObjectFormatVisitor expectObjectFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonArrayFormatVisitor expectArrayFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonStringFormatVisitor expectStringFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonNumberFormatVisitor expectNumberFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonIntegerFormatVisitor expectIntegerFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonBooleanFormatVisitor expectBooleanFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonNullFormatVisitor expectNullFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonAnyFormatVisitor expectAnyFormat(JavaType type) throws JsonMappingException
type - Declared type of visited property (or List element) in JavaJsonMappingExceptionJsonMapFormatVisitor expectMapFormat(JavaType type) throws JsonMappingException
Map type, and will
be serialized as a JSON Object.JsonMappingExceptionCopyright © 2008–2021 FasterXML. All rights reserved.