Skip to main content

render_with_banner

Function render_with_banner 

Source
pub fn render_with_banner(value: &Value, banner: &str) -> String
Expand description

Render a value as a YAML document under a comment banner, one # line per line of banner. The banner is a comment and never part of the data.