public static <T> void writeObject(OutputStream output, T object) throws IOException {
        writeObject(output, StandardCharsets.UTF_8, object);
    }
Utility class for reading and writing objects in JSON format.
clickhouse-data/src/main/java/com/clickhouse/data/format/JsonStreamUtils.java