JacksonConverterRegistrar
@Deprecated public class CharSequencePropertyNamingStrategyConverter extends java.lang.Object implements TypeConverter<java.lang.CharSequence,com.fasterxml.jackson.databind.PropertyNamingStrategy>
PropertyNamingStrategy
instance.Constructor and Description |
---|
CharSequencePropertyNamingStrategyConverter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<com.fasterxml.jackson.databind.PropertyNamingStrategy> |
convert(java.lang.CharSequence charSequence,
java.lang.Class<com.fasterxml.jackson.databind.PropertyNamingStrategy> targetType,
ConversionContext context)
Deprecated.
Converts from the given source object type to the target type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, of
public CharSequencePropertyNamingStrategyConverter()
public java.util.Optional<com.fasterxml.jackson.databind.PropertyNamingStrategy> convert(java.lang.CharSequence charSequence, java.lang.Class<com.fasterxml.jackson.databind.PropertyNamingStrategy> targetType, ConversionContext context)
TypeConverter
Optional.empty()
in case the object is not convertible by catching any necessary exceptions and failing gracefully.convert
in interface TypeConverter<java.lang.CharSequence,com.fasterxml.jackson.databind.PropertyNamingStrategy>
charSequence
- The object typetargetType
- The target type being converted tocontext
- The ConversionContext