Skip to main content

write_json

Function write_json 

Source
pub fn write_json(results: &Results, pretty: bool, out: &mut Sink) -> Result<()>
Expand description

Writes the results as JSON (compact or indented), followed by a newline.

ยงErrors

DimaError::Internal for non-finite values; write errors of out.