public static <T> T parseStringAs(String input, Class<T> clazz) throws JsonProcessingException {
        return MAPPER.readValue(input, clazz);
    }
Parse a JSON string into a generic type T, or throw JsonProcessingException in the case of
exception.
server-common/src/main/java/org/apache/kafka/server/util/Json.java