pub fn from_reader<R, T>(reader: R) -> Result<T, DeError>where
R: BufRead,
T: DeserializeOwned,Expand description
Deserialize from a reader. This method will do internal copies of data
read from reader. If you want have a &str input and want to borrow
as much as possible, use from_str.