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 readed from reader. If you want have a &[u8] or &str input and want to borrow as much as possible, use from_slice or from_str