Modifier and Type | Method and Description |
---|---|
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchema(File file)
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method.
|
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchema(InputStream schema)
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method.
|
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchema(Reader schema)
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method.
|
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchema(String schema)
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method.
|
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchema(URI uri)
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema loaded by the supplied URI.
|
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchema(URL url) |
static JsonSchemaValidator |
JsonSchemaValidator.matchesJsonSchemaInClasspath(String pathToSchemaInClasspath)
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method.
|
Copyright © 2010–2019. All rights reserved.