Function simd_json::serde::from_reader_with_buffers

source ·
pub fn from_reader_with_buffers<R, T>(
    rdr: R,
    buffers: &mut Buffers,
) -> Result<T>
where R: Read, T: DeserializeOwned,
Expand description

Parses a Reader using a serde deserializer.

Passes in reusable buffers to reduce allocations.

§Errors

Will return Err if an IO error is encountered while reading rdr or if the readers content is invalid JSON.