pub fn from_reader<R, T, U>(data: R) -> Result<U, Error>where R: Read, T: PrimaryData, U: DeserializeOwned,
Deserialize a Document<T> from an IO stream of JSON text and then iterpret it as a type U.
Document<T>
U