|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.fasterxml.jackson.databind.jsonschema.JsonSchema
public class JsonSchema
Container for a logical JSON Schema instance.
Internally schema data is stored as a JSON Tree
(instance of JsonNode
is the root
of schema document)
Constructor Summary | |
---|---|
JsonSchema(ObjectNode schema)
Main constructor for schema instances. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
static JsonNode |
getDefaultSchemaNode()
Get the default schema node. |
ObjectNode |
getSchemaNode()
Method for accessing root JSON object of the contained schema. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.
Method Detail |
---|
public ObjectNode getSchemaNode()
Note: this method is specified with JsonValue
annotation
to represent serialization to use; same as if explicitly
serializing returned object.
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public static JsonNode getDefaultSchemaNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |