pub fn template_render_path(
template_path: &str,
params_root: &Value,
) -> Option<String>Expand description
Performs template render path.
§Parameters
template_path: Input consumed bycrate::runtime::json_commands::template_render_path.params_root: Input consumed bycrate::runtime::json_commands::template_render_path.
§Returns
Returns Some when crate::runtime::json_commands::template_render_path can produce a value and None otherwise.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::template_render_path.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::template_render_path("template.html", &serde_json::json!({}));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.