Package org.hibernate.dialect
Class JsonHelper
- java.lang.Object
-
- org.hibernate.dialect.JsonHelper
-
@Internal public class JsonHelper extends Object
A Helper for serializing and deserializing JSON, based on anEmbeddableMappingType
.
-
-
Constructor Summary
Constructors Constructor Description JsonHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <X> X
fromString(EmbeddableMappingType embeddableMappingType, String string, boolean returnEmbeddable, WrapperOptions options)
static String
toString(EmbeddableMappingType embeddableMappingType, Object value, WrapperOptions options)
-
-
-
Method Detail
-
toString
public static String toString(EmbeddableMappingType embeddableMappingType, Object value, WrapperOptions options)
-
fromString
public static <X> X fromString(EmbeddableMappingType embeddableMappingType, String string, boolean returnEmbeddable, WrapperOptions options) throws SQLException
- Throws:
SQLException
-
-