@SuppressWarnings({"unchecked"})
    public <T> T read(File jsonFile, Configuration configuration) throws IOException {
        notNull(jsonFile, "json file can not be null");
        isTrue(jsonFile.exists(), "json file does not exist");
        notNull(configuration, "jsonProvider can not be null");

        FileInputStream fis = null;
        try {
            fis = new FileInputStream(jsonFile);
            return read(fis, configuration);
        } finally {
            Utils.closeQuietly(fis);
        }
    }
@ SuppressWarnings ( { "unchecked" } ) public < T > T read ( File jsonFile , Configuration configuration ) throws IOException { notNull ( jsonFile , "json file can not be null" ) ; isTrue ( jsonFile . exists ( ) , "json file does not exist" ) ; notNull ( configuration , "jsonProvider can not be null" ) ; FileInputStream fis = null ; try { fis = new FileInputStream ( jsonFile ) ; return read ( fis , configuration ) ; } finally { Utils . closeQuietly ( fis ) ; } }
Applies this JsonPath to the provided json file

@param jsonFile      file to read from
@param configuration configuration to use
@param <T>           expected return type
@return list of objects matched by the given path
@throws IOException