extern crate serde;
extern crate serde_json;
use io;
use DeserializeOwned;
use ;
/// Like [`from_reader`] but eagerly reads the content of the reader to a string
/// and delegates to `from_str`.
///
/// [`from_reader`]: https://docs.serde.rs/serde_json/fn.from_reader.html