from_reader

Function from_reader 

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

Deserialize an instance of type T from an I/O stream of JSON.

Equivalent to serde_json::from_reader but with errors extended with serde_path_to_error.

See serde_json::from_reader for more documentation.