Traits§
- Template
Renderer - 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::Valueinto its string representation.