@Deprecated public class JsonSchema extends 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(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.
|
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 static JsonNode getDefaultSchemaNode()
Copyright © 2018 JBoss by Red Hat. All rights reserved.