pub fn emit_template(template_path: &Path, params_json: &str) -> Option<String>Expand description
Returns a JSON value with its template text rendered from bounded parameters.
§Parameters
template_path: Input consumed bycrate::runtime::json_commands::emit_template.params_json: Input consumed bycrate::runtime::json_commands::emit_template.
§Returns
Returns Some when crate::runtime::json_commands::emit_template can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::emit_template("template.html", todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.