Skip to main content

expand

Function expand 

Source
pub fn expand(
    template: &Value,
    values: &BTreeMap<String, Value>,
) -> (Value, Vec<String>)
Expand description

Fills a template from the values; a name with no value stays as written, and is returned in the second part.