Class JsonBJsonFormatMapper
- java.lang.Object
-
- org.hibernate.type.format.jakartajson.JsonBJsonFormatMapper
-
- All Implemented Interfaces:
FormatMapper
public final class JsonBJsonFormatMapper extends Object implements FormatMapper
-
-
Field Summary
Fields Modifier and Type Field Description static String
SHORT_NAME
-
Constructor Summary
Constructors Constructor Description JsonBJsonFormatMapper()
JsonBJsonFormatMapper(Jsonb jsonb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
fromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions)
Deserializes an object from the character sequence.<T> String
toString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions)
Serializes the object to a string.
-
-
-
Field Detail
-
SHORT_NAME
public static final String SHORT_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JsonBJsonFormatMapper
public JsonBJsonFormatMapper()
-
JsonBJsonFormatMapper
public JsonBJsonFormatMapper(Jsonb jsonb)
-
-
Method Detail
-
fromString
public <T> T fromString(CharSequence charSequence, JavaType<T> javaType, WrapperOptions wrapperOptions)
Description copied from interface:FormatMapper
Deserializes an object from the character sequence.- Specified by:
fromString
in interfaceFormatMapper
-
toString
public <T> String toString(T value, JavaType<T> javaType, WrapperOptions wrapperOptions)
Description copied from interface:FormatMapper
Serializes the object to a string.- Specified by:
toString
in interfaceFormatMapper
-
-