Skip to main content

placeholder_bag_replacements

Function placeholder_bag_replacements 

Source
fn placeholder_bag_replacements(
    placeholders: Option<&Value>,
) -> HashMap<String, String>
Expand description

Turns a delivery’s placeholder bag into {{ KEY }} substitutions. Nested objects and arrays are skipped: there is no sensible rendering for them in body text.