public class JsonSchema
extends java.lang.Object
JsonNode that represents a JSON-Schema instance.| Constructor and Description |
|---|
JsonSchema(ObjectNode schema)
Main constructor for schema instances.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static JsonNode |
getDefaultSchemaNode()
Get the default schema node.
|
ObjectNode |
getSchemaNode()
Method for accessing root JSON object of the contained schema.
|
java.lang.String |
toString() |
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 boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic static JsonNode getDefaultSchemaNode()