public interface JsonValidator
| Modifier and Type | Method and Description |
|---|---|
JsonValidator |
next()
Return the next validator in the chain
|
boolean |
validate(ValidationContext context,
ValidationReport report,
JsonNode instance)
Validate the instance, and tell whether validation should continue
|
boolean validate(ValidationContext context, ValidationReport report, JsonNode instance)
context - the validation contextreport - the validation reportinstance - the instance to validateJsonValidator next()
This will be called iif
validate(ValidationContext, ValidationReport, JsonNode)
returns true.
Copyright © 2012. All Rights Reserved.