Skip to main content

parse_rule_json

Function parse_rule_json 

Source
pub fn parse_rule_json(src: &str) -> Result<TowerRule, ParseError>
Expand description

Parse a JSON rule definition into a TowerRule.

Used for machine-generated rules (agent output, desktop form-builder backend). Semantically equivalent to YAML parsing.