public class JsonNodeTypeDescriptor
extends org.hibernate.type.descriptor.java.AbstractTypeDescriptor<com.fasterxml.jackson.databind.JsonNode>
Modifier and Type | Field and Description |
---|---|
static JsonNodeTypeDescriptor |
INSTANCE |
Constructor and Description |
---|
JsonNodeTypeDescriptor() |
JsonNodeTypeDescriptor(ObjectMapperWrapper objectMapperWrapper) |
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(com.fasterxml.jackson.databind.JsonNode one,
com.fasterxml.jackson.databind.JsonNode another) |
com.fasterxml.jackson.databind.JsonNode |
fromString(String string) |
String |
toString(com.fasterxml.jackson.databind.JsonNode value) |
<X> X |
unwrap(com.fasterxml.jackson.databind.JsonNode value,
Class<X> type,
org.hibernate.type.descriptor.WrapperOptions options) |
<X> com.fasterxml.jackson.databind.JsonNode |
wrap(X value,
org.hibernate.type.descriptor.WrapperOptions options) |
extractHashCode, extractLoggableRepresentation, getComparator, getJavaType, getJavaTypeClass, getMutabilityPlan, unknownUnwrap, unknownWrap
public static final JsonNodeTypeDescriptor INSTANCE
public JsonNodeTypeDescriptor()
public JsonNodeTypeDescriptor(ObjectMapperWrapper objectMapperWrapper)
public boolean areEqual(com.fasterxml.jackson.databind.JsonNode one, com.fasterxml.jackson.databind.JsonNode another)
areEqual
in interface org.hibernate.type.descriptor.java.JavaTypeDescriptor<com.fasterxml.jackson.databind.JsonNode>
areEqual
in class org.hibernate.type.descriptor.java.AbstractTypeDescriptor<com.fasterxml.jackson.databind.JsonNode>
public String toString(com.fasterxml.jackson.databind.JsonNode value)
public com.fasterxml.jackson.databind.JsonNode fromString(String string)
public <X> X unwrap(com.fasterxml.jackson.databind.JsonNode value, Class<X> type, org.hibernate.type.descriptor.WrapperOptions options)
public <X> com.fasterxml.jackson.databind.JsonNode wrap(X value, org.hibernate.type.descriptor.WrapperOptions options)
Copyright © 2020. All rights reserved.