Function sp_serializer::to_writer

source ยท
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.