Skip to main content

render_str_inferred_with_context

Function render_str_inferred_with_context 

Source
pub fn render_str_inferred_with_context(
    config: &str,
    rule_name: &str,
    context: RenderContext,
) -> Result<String, ConfigError>
Expand description

Renders one rule from a configuration string with initial context, inferring formatted structured JSON for object-valued rules.