Class DefaultJsonSchemaLoader

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.everit.json.schema.Schema loadSchema​(org.json.JSONObject rawSchema)
      Provide a JSON Schema based on the JSONObject parameter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultJsonSchemaLoader

        public DefaultJsonSchemaLoader()
    • Method Detail

      • loadSchema

        public org.everit.json.schema.Schema loadSchema​(org.json.JSONObject rawSchema)
        Description copied from interface: JsonSchemaLoader
        Provide a JSON Schema based on the JSONObject parameter.
        Specified by:
        loadSchema in interface JsonSchemaLoader
        Parameters:
        rawSchema - JSONObject to load as Schema.
        Returns:
        Schema based on JSONObject.