Skip to main content

Module render

Module render 

Source

Traits§

TemplateRenderer
Trait abstracting template rendering so protocol crates can render strings and JSON values without depending on a specific engine.

Functions§

render_key_value_map
Render a BTreeMap<String, Value> of template key-value pairs into a flat list of (String, String) pairs, expanding arrays into multiple entries with the same key.
value_to_string
Convert a serde_json::Value into its string representation.