static JsonMappingException throwJsonMappingException(String expectedType, JsonNode node) {
        return new JsonMappingException(null, String.format("Expected `%s` value, received %s", expectedType, node));
    }
Decode the JSON node provided into an instance of `T`.

@throws JsonMappingException if `node` cannot be decoded into `T`.
server-common/src/main/java/org/apache/kafka/server/util/json/DecodeJson.java