docs: public static <T> Optional<T> toBean(String json, Class<T> clazz) {
          if (StringUtils.isBlank(json)) {
              log.warn("json is blank. ");
              return Optional.empty();
          }
          try {
              OBJECT_MAPPER.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
              return Optional.of(OBJECT_MAPPER.readValue(json, clazz));
          } catch (Exception e) {
              log.error(e.getMessage(), e);
              return Optional.empty();
          }
      }