public class Parser
public Parser(@NotNull
kotlin.jvm.functions.Function1<? super java.net.URI,? extends java.io.InputStream> uriResolver)
public Parser()
@NotNull public java.util.List<java.lang.String> getSchemaVersion201909()
@NotNull public java.util.List<java.lang.String> getSchemaVersionDraft07()
public void preLoad(@NotNull
java.lang.String filename)
public void preLoad(@NotNull
java.io.File file)
@NotNull public JSONSchema parse(@NotNull java.lang.String filename)
@NotNull public JSONSchema parse(@NotNull java.io.File file)
@NotNull
public net.pwall.json.JSONValue parseFile(@NotNull
java.lang.String uriString)
@NotNull public JSONSchema parseSchema(@NotNull net.pwall.json.JSONValue json, @NotNull net.pwall.json.pointer.JSONPointer pointer, @Nullable java.net.URI parentUri)
Parse schema.
json - the schema JSONpointer - the JSON Pointer to the current location in the schema JSONparentUri - the parent URI for the schema@NotNull public kotlin.jvm.functions.Function1<java.net.URI,java.io.InputStream> getUriResolver()