Skip to main content

write_json

Function write_json 

Source
pub fn write_json<T: Serialize>(
    dir: &Path,
    name: &str,
    value: &T,
) -> Result<(), Error>
Expand description

Write a value as pretty JSON beside a rendering: the evidence the page was made from, kept because a page nobody can check is not evidence.