public static <T> T readObject(Reader reader, Class<T> clazz) throws IOException {
        return gson.fromJson(reader, clazz);
    }
Utility class for reading and writing objects in JSON format.
clickhouse-data/src/main/java/com/clickhouse/data/format/JsonStreamUtils.java