Function serde::json::ser::to_writer [] [src]

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

Encode the specified struct into a json [u8] writer.