Interface Converter<T>

Type Parameters:
T - the Java type that needs to be converted
All Superinterfaces:
MapperConverter
All Known Subinterfaces:
MapperConfig.CustomEnumConverter<A>
All Known Implementing Classes:
BigDecimalConverter, BigIntegerConverter, BooleanConverter, ByteConverter, CachedDelegateConverter, CharacterConverter, ClassConverter, DateConverter, DoubleConverter, EnumConverter, FloatConverter, IntegerConverter, LongConverter, ShortConverter, StringConverter, URIConverter, URLConverter, UUIDConverter

public interface Converter<T> extends MapperConverter
Convert a given Java Type to it's JSON String representation. And the other way around. An example would be to convert joda LocalDate into Strings and back.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    toString(T instance)
     
  • Method Details

    • toString

      String toString(T instance)
    • fromString

      T fromString(String text)