pub fn template_render_file(
template_file: &Path,
params_root: &Value,
) -> Option<String>Expand description
Performs template render file.
§Parameters
template_file: Input consumed bycrate::runtime::json_commands::template_render_file.params_root: Input consumed bycrate::runtime::json_commands::template_render_file.
§Returns
Returns Some when crate::runtime::json_commands::template_render_file can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::template_render_file(std::path::Path::new("template.html"), &serde_json::json!({}));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.