serde::json

Function to_pretty_writer

source
pub fn to_pretty_writer<W: Write, T: Serialize>(
    writer: W,
    value: &T,
) -> Result<(), JsonSerializationError>
Expand description

Serialize the value of type T to a writer formatted.