@Deprecated
public class JsonSchema
extends java.lang.Object
JsonNode is the root
of schema document)| Constructor and Description |
|---|
JsonSchema(ObjectNode schema)
Deprecated.
Main constructor for schema instances.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
static JsonNode |
getDefaultSchemaNode()
Deprecated.
Get the default schema node.
|
ObjectNode |
getSchemaNode()
Deprecated.
Method for accessing root JSON object of the contained schema.
|
int |
hashCode()
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
public JsonSchema(ObjectNode schema)
This is the creator constructor used by Jackson itself when deserializing instances. It is so-called delegating creator, meaning that its argument will be bound by Jackson before constructor gets called.
public ObjectNode getSchemaNode()
Note: this method is specified with JsonValue annotation
to represent serialization to use; same as if explicitly
serializing returned object.
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic static JsonNode getDefaultSchemaNode()