simd_json::serde

Function to_writer

Source
pub fn to_writer<T, W>(writer: W, to: &T) -> Result<()>
where T: Serialize + ?Sized, W: Write,
Expand description

Write a value to a string

ยงErrors

when the data can not be written