Package org.apache.johnzon.mapper
Interface Converter<T>
-
- Type Parameters:
T-
- 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
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 interfaceConverter.TypeAccess
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TfromString(java.lang.String text)java.lang.StringtoString(T instance)
-