Package org.hibernate.type.format
Class AbstractJsonFormatMapper
java.lang.Object
org.hibernate.type.format.AbstractJsonFormatMapper
- All Implemented Interfaces:
FormatMapper
- Direct Known Subclasses:
JacksonJsonFormatMapper,JsonBJsonFormatMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract <T> TfromString(CharSequence charSequence, Type type) final <T> TfromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions) Deserializes an object from the character sequence.protected abstract <T> Stringfinal <T> StringtoString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions) Serializes the object to a string.
-
Constructor Details
-
AbstractJsonFormatMapper
public AbstractJsonFormatMapper()
-
-
Method Details
-
fromString
public final <T> T fromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions) Description copied from interface:FormatMapperDeserializes an object from the character sequence.- Specified by:
fromStringin interfaceFormatMapper
-
toString
Description copied from interface:FormatMapperSerializes the object to a string.- Specified by:
toStringin interfaceFormatMapper
-
fromString
-
toString
-