outlines_core::json_schema

Function to_regex

Source
pub fn to_regex(
    json: &Value,
    whitespace_pattern: Option<&str>,
) -> Result<String, JsonSchemaParserError>