pub fn render_app_fragment(
app_root: &str,
fragment_name: &str,
params_root: &Value,
) -> Option<String>Expand description
Renders an app-owned JSON template fragment.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::render_app_fragment.fragment_name: Input consumed bycrate::runtime::json_commands::render_app_fragment.params_root: Input consumed bycrate::runtime::json_commands::render_app_fragment.
§Returns
Returns Some when crate::runtime::json_commands::render_app_fragment can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::render_app_fragment(std::path::Path::new("apps/dev_docs"), todo!(), &serde_json::json!({}));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.