Function sp_serializer::to_writer [−][src]
pub fn to_writer<W: Write, T: Serialize + ?Sized>(
writer: W,
value: &T
) -> Result<()>
Expand description
Serialize the given data structure as JSON into the IO stream.
pub fn to_writer<W: Write, T: Serialize + ?Sized>(
writer: W,
value: &T
) -> Result<()>
Serialize the given data structure as JSON into the IO stream.