Skip to main content

render_path_template_text

Function render_path_template_text 

Source
pub fn render_path_template_text(
    template: &str,
    values: &Value,
) -> Option<String>
Expand description

Renders a bounded path template with explicit placeholder replacement.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::render_path_template_text 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_path_template_text.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::render_path_template_text(todo!(), todo!());