[][src]Function ssb_json_msg_data::json::to_writer

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

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