class JSONPathMultiBenchmark {
    private static String str;

    static JSONPath jsonPath;

    static JSONPath path0;
    static JSONPath path1;
    static {
        try {
            InputStream is = BookStore.class.getClassLoader().getResourceAsStream("data/path_02.json");
            str = IOUtils.toString(is, "UTF-8");
        } catch (Exception ex) {
            ex.printStackTrace();
        }

        jsonPath = JSONPath.of(
                new String[] {"$.store.bicycle.color", "$.store.bicycle.price"},
                new Type[] {String.class, BigDecimal.class}
        );

        path0 = JSONPath.of("$.store.bicycle.color");
        path1 = JSONPath.of("$.store.bicycle.price");
    }

    @Benchmark
    public void extract(Blackhole bh) throws Exception {
        bh.consume(
                jsonPath.extract(str)
        );
    }

    @Benchmark
    public void eval(Blackhole bh) throws Exception {
        JSONObject object = JSON.parseObject(str);
        bh.consume(
                jsonPath.eval(object)
        );
    }

    @Benchmark
    public void evalMulti(Blackhole bh) throws Exception {<FILL_FUNCTION_BODY>}

    public static void main(String[] args) throws RunnerException {
        Options options = new OptionsBuilder()
                .include(JSONPathMultiBenchmark.class.getName())
                .mode(Mode.Throughput)
                .timeUnit(TimeUnit.MILLISECONDS)
                .warmupIterations(3)
                .forks(1)
                .build();
        new Runner(options).run();
    }
}

        JSONObject object = JSON.parseObject(str);
        Object[] values = new Object[2];
        values[0] = TypeUtils.cast(path0.eval(object), String.class);
        values[1] = TypeUtils.cast(path1.eval(object), BigDecimal.class);
        bh.consume(values);
    
<no_super_class>