java.lang.Object
tools.jackson.databind.util.StdConverter<IN,OUT>
- All Implemented Interfaces:
Converter<IN,OUT>
Standard implementation of
Converter that supports explicit
type access, instead of relying type detection of generic type
parameters.- Since:
- 2.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface tools.jackson.databind.util.Converter
Converter.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaTypeabstract OUTconvert(DeserializationContext ctxt, IN value) Conversion method to use on deserialization side.convert(SerializationContext ctxt, IN value) Conversion method to use on serialization side.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(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).
-
Constructor Details
-
StdConverter
public StdConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterConversion method to use on deserialization side. -
convert
Description copied from interface:ConverterConversion method to use on serialization side. -
convert
-
getInputType
Description copied from interface:ConverterMethod 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).- Specified by:
getInputTypein interfaceConverter<IN,OUT>
-
getOutputType
Description copied from interface:ConverterMethod 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).- Specified by:
getOutputTypein interfaceConverter<IN,OUT>
-
_findConverterType
-