Function from_reader

Source
pub fn from_reader<R, T, U>(data: R) -> Result<U, Error>
Expand description

Deserialize a Document<T> from an IO stream of JSON text and then iterpret it as a type U.