Package org.codehaus.jackson.schema
Class JsonSchema
java.lang.Object
org.codehaus.jackson.schema.JsonSchema
A
JsonNode
that represents a JSON-Schema instance.- Author:
- Ryan Heaton
- See Also:
-
Constructor Details
-
JsonSchema
Main constructor for schema instances.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 Details
-
getSchemaNode
Method for accessing root JSON object of the contained schema.Note: this method is specified with
JsonValue
annotation to represent serialization to use; same as if explicitly serializing returned object.- Returns:
- Root node of the schema tree
-
toString
-
equals
-
getDefaultSchemaNode
Get the default schema node.- Returns:
- The default schema node.
-