simd_json::serde

Function from_reader

Source
pub fn from_reader<R, T>(rdr: R) -> Result<T>
where R: Read, T: DeserializeOwned,
Expand description

parses a Reader using a serde deserializer.

ยงErrors

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