Skip to main content

args_template

Function args_template 

Source
pub fn args_template(args: &Map<String, Value>) -> String
Expand description

Produce a normalized args template: top-level keys with their JSON type as placeholder value.

Used by PatternStore to store a template that is stable across observations with varying argument values. Example: {"command":"<string>","timeout":"<number>"}.