public final <T> T fromReader(Reader reader, Class<T> destinationClass) throws IOException {
    return createJsonParser(reader).parseAndClose(destinationClass);
  }
public final < T > T fromReader ( Reader reader , Class < T > destinationClass ) throws IOException { return createJsonParser ( reader ) . parseAndClose ( destinationClass ) ; }
Parse and close a reader as a JSON object, array, or value into a new instance of the given
destination class using {@link JsonParser#parseAndClose(Class)}.

@param reader JSON value in a reader
@param destinationClass destination class that has an accessible default constructor to use to
create a new instance
@return new instance of the parsed destination class
@since 1.7