Constructor and Description |
---|
ExampleBase() |
Modifier and Type | Method and Description |
---|---|
protected static com.fasterxml.jackson.databind.JsonNode |
loadResource(String name)
Load one resource from the current package as a
JsonNode |
protected static void |
printReport(com.github.fge.jsonschema.report.ProcessingReport report)
Print a validation report to stdout
|
protected static void printReport(com.github.fge.jsonschema.report.ProcessingReport report)
Will print whether validation succeeded. In the event of a failure, dumps validation error messages.
report
- the reportprotected static com.fasterxml.jackson.databind.JsonNode loadResource(String name) throws IOException
JsonNode
name
- name of the resource (MUST start with /
IOException
- resource not foundCopyright © 2014. All Rights Reserved.