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, setProvider
JsonObjectFormatVisitor expectObjectFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonArrayFormatVisitor expectArrayFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonStringFormatVisitor expectStringFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonNumberFormatVisitor expectNumberFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonIntegerFormatVisitor expectIntegerFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonBooleanFormatVisitor expectBooleanFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonNullFormatVisitor expectNullFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonAnyFormatVisitor expectAnyFormat(JavaType type) throws JsonMappingException
type
- Declared type of visited property (or List element) in JavaJsonMappingException
JsonMapFormatVisitor expectMapFormat(JavaType type) throws JsonMappingException
Map
type, and will
be serialized as a JSON Object.JsonMappingException
Copyright © 2008–2020 FasterXML. All rights reserved.