Skip to main content

execute

Function execute 

Source
pub fn execute(
    rule_def: &RuleDefinition,
    context_json: &str,
) -> RuleEngineResult<Value>
Expand description

Execute a rule definition (with metadata) against a JSON context.

This is the primary entry point for Tempus Engine. It wraps the raw jsonlogic-fast evaluation with the rule’s metadata context.