pub fn from_reader<R, T>(reader: R) -> Result<T, DeError>where
    R: BufRead,
    T: DeserializeOwned,
Available on crate feature serialize only.
Expand description

Deserialize from a reader. This method will do internal copies of data readed from reader. If you want have a &str input and want to borrow as much as possible, use from_str.