Skip to main content

render_to_html

Function render_to_html 

Source
pub fn render_to_html(view: &JsonUiView, data: &Value) -> String
Expand description

Render a JSON-UI view to an HTML fragment.

Walks the component tree and produces a <div> containing all rendered components. This is a fragment, not a full page – the framework wrapper handles <html>, <head>, and <body>.

The data parameter is used to resolve data_path references on form fields and table components.