code: public static GerritJsonEvent getEventIfInteresting(String jsonString) {
          logger.trace("finding event for jsonString: {}", jsonString);
          try {
              JSONObject jsonObject = getJsonObjectIfInterestingAndUsable(jsonString);
              if (jsonObject != null) {
                  return getEvent(jsonObject);
              }
  
          } catch (Exception ex) {
              logger.warn("Unanticipated error when creating DTO representation of JSON string.", ex);
          }
          return null;
      }
docs: Tries to parse the provided string into a GerritJsonEvent DTO if it is interesting and usable.
  @param jsonString the JSON formatted string.
  @return the Event.
  @see #getJsonObjectIfInterestingAndUsable(String)