public class JsonSchemaRef extends Object
This reference may be empty (if the reference is being parsed) or with data (after the reference has been parsed), helping to prevent recursive reference to cause an infinite loop.
| 构造器和说明 |
|---|
JsonSchemaRef(JsonSchema schema) |
JsonSchemaRef(ValidationContext validationContext,
String refValue) |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonSchema |
getSchema() |
void |
set(JsonSchema schema) |
Set<ValidationMessage> |
validate(com.fasterxml.jackson.databind.JsonNode node,
com.fasterxml.jackson.databind.JsonNode rootNode,
String at) |
public JsonSchemaRef(ValidationContext validationContext, String refValue)
public JsonSchemaRef(JsonSchema schema)
public void set(JsonSchema schema)
public Set<ValidationMessage> validate(com.fasterxml.jackson.databind.JsonNode node, com.fasterxml.jackson.databind.JsonNode rootNode, String at)
public JsonSchema getSchema()
Copyright © 2023. All rights reserved.