pub fn render_app_fragment_from_doc(
app_root: &str,
fragment_name: &str,
params_root: &Value,
) -> Option<String>Expand description
Renders an app-owned fragment from an in-memory parameter document.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::render_app_fragment_from_doc.fragment_name: Input consumed bycrate::runtime::json_commands::render_app_fragment_from_doc.params_root: Input consumed bycrate::runtime::json_commands::render_app_fragment_from_doc.
§Returns
Returns Some when crate::runtime::json_commands::render_app_fragment_from_doc 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::render_app_fragment_from_doc.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::render_app_fragment_from_doc(std::path::Path::new("apps/dev_docs"), todo!(), &serde_json::json!({}));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.