Interface SchemaLoader
- All Known Implementing Classes:
- FileLoader,- StreamLoader,- UrlLoader
public interface SchemaLoader
Interface for loading a JSON schema from various sources.
- Author:
- Elif Kurtay
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.fasterxml.jackson.databind.ObjectMapper
- 
Method Summary
- 
Field Details- 
JSON_MAPPERstatic final com.fasterxml.jackson.databind.ObjectMapper JSON_MAPPER
 
- 
- 
Method Details- 
loadSchema load()Loads a JSON schema.- Returns:
- a Schemaobject representing the loaded JSON schema
- Throws:
- RuntimeException- if no valid source is found or if there is an error loading the schema
 
 
-