stream_to_vec

Function stream_to_vec 

Source
pub fn stream_to_vec(v: impl Value) -> Result<Vec<u8>, Error>
Expand description

Stream a value as JSON into a byte buffer.

This method will fail if the value contains complex values as keys.