Skip to main content

bind_json

Function bind_json 

Source
pub fn bind_json(
    document: &str,
    data: &str,
    options: &str,
) -> Result<String, ComposeError>
Expand description

template::bind across a JSON boundary: options is {theme?, templates?}.

ยงErrors

Returns where in the template, data or options, and why, they do not bind.