Package org.hibernate.type
Interface FormatMapper
-
- All Known Implementing Classes:
JacksonJsonFormatMapper,JacksonXmlFormatMapper,JaxbXmlFormatMapper,JsonBJsonFormatMapper
public interface FormatMapperA mapper for mapping objects to and from a format.- See Also:
AvailableSettings.JSON_FORMAT_MAPPER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TfromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions)Deserializes an object from the character sequence.<T> StringtoString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions)Serializes the object to a string.
-
-
-
Method Detail
-
fromString
<T> T fromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions)
Deserializes an object from the character sequence.
-
toString
<T> String toString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions)
Serializes the object to a string.
-
-