public class SchemaLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static Schema |
load(org.json.JSONObject schemaJson)
Loads a JSON schema to a schema validator using a
default HTTP
client. |
static Schema |
load(org.json.JSONObject schemaJson,
SchemaClient httpClient)
Creates Schema instance from its JSON representation.
|
public static Schema load(org.json.JSONObject schemaJson)
default HTTP
client.schemaJson - the JSON representation of the schema.public static Schema load(org.json.JSONObject schemaJson, SchemaClient httpClient)
schemaJson - the JSON representation of the schema.httpClient - the HTTP client to be used for resolving remote JSON references.Copyright © 2011–2015 Everit Kft.. All rights reserved.