public static <T> T load(Path path, Class<T> clazz) throws IOException {
        try (InputStream in = Channels.newInputStream(FileChannel.open(path, StandardOpenOption.READ))) {
            return jsonMapper.readValue(in, clazz);
        }
    }
This class should only be used in config loading or debug.
Don't use in high performance required scenario.
indexr-common/src/main/java/io/indexr/util/JsonUtil.java