public static <T> void printJson(T item) {
        try {
            System.out.println(JsonUtils.toPrettyJsonString(item));
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
Print the given item to the console in JSON format.
inlong-manager/manager-client-tools/src/main/java/org/apache/inlong/manager/client/cli/util/PrintUtils.java