pub fn lint_json(
template: &str,
data: &str,
options: &str,
) -> Result<String, ComposeError>Expand description
template::lint across a JSON boundary: data may be empty for none, and options is
{templates?}. Returns the issues as a JSON list.
§Errors
Returns where the template, data or options are not JSON.
§Panics
Never; issues always serialize.