Skip to main content

run_with_options

Function run_with_options 

Source
pub fn run_with_options(
    input: &str,
    opts: ValidateOptions,
) -> Result<CommandResult>
Expand description

Run validation with options and return structured result

ยงErrors

Returns an error if the schema file cannot be read, cannot be deserialized as a CompiledSchema, or if JSON serialization of the result fails.