[][src]Function ssb_json_msg_data::json::to_writer_indent

pub fn to_writer_indent<W, T: ?Sized>(
    writer: &mut W,
    value: &T,
    compact: bool,
    indent: usize
) -> Result<(), EncodeJsonError> where
    W: Write,
    T: Serialize

Serialize the given data structure as JSON into the IO stream.