public static <T> T parseObject(byte[] bytes, Class<T> clazz) {
        if (ArrayUtils.isEmpty(bytes)) {
            return null;
        }
        try {
            return OBJECT_MAPPER.readValue(bytes, clazz);
        } catch (IOException e) {
            log.error("json parse err for: " + Arrays.toString(bytes), e);
            throw new JsonException(e);
        }
    }
Parse JSON string to java object
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/util/JsonUtils.java