Note
implementors are strongly encouraged to extend StdConverter
instead of directly implementing Converter, since that can
help with default implementation of typically boiler-plate code.
com.fasterxml.jackson.databind.ser.std.StdDelegatingSerializer , com.fasterxml.jackson.databind.deser.std.StdDelegatingDeserializer
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | Converter.
This marker class is only to be used with annotations, to indicate that no converter is to be used. |
| Modifier and Type | Method and Description |
|---|---|
| public OUT | |
| public JavaType | getInputType(TypeFactory typeFactory)
Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings). |
| public JavaType | getOutputType(TypeFactory typeFactory)
Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings). |
| convert | back to summary |
|---|---|
| public OUT convert(IN value) Main conversion method. | |
| getInputType | back to summary |
|---|---|
| public JavaType getInputType(TypeFactory typeFactory) Method that can be used to find out actual input (source) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).
| |
| getOutputType | back to summary |
|---|---|
| public JavaType getOutputType(TypeFactory typeFactory) Method that can be used to find out actual output (target) type; this usually can be determined from type parameters, but may need to be implemented differently from programmatically defined converters (which cannot change static type parameter bindings).
| |
Specifically, this class is to be used as the marker for
annotation com.,
property converter (and related)
| Access | Constructor and Description |
|---|---|
| public |
| None | back to summary |
|---|---|
| public None() | |