Skip to main content

to_writer_value

Function to_writer_value 

Source
pub fn to_writer_value<W>(writer: W, value: &Value) -> Result<()>
where W: Write,
Expand description

Write a Value to an std::io::Write sink, preserving Value::Tagged shape losslessly. See to_string_value for the rationale.

§Errors

  • Error::Io — the underlying writer returned an I/O error.
  • All variants documented on to_string.