code: public static <T> T fromJson(String json, Class<T> clazz) {
          Objects.requireNonNull(json, Required.JSON.toString());
          Objects.requireNonNull(clazz, Required.CLASS.toString());
          
          T object = null;
          try {
              object = mapper.readValue(json, clazz);
          } catch (IOException e) {
              LOG.error("Failed to convert json to object class",  e);
          }
      
          return object;
      }
docs: Converts a given Json string to given Class
  
  @param json The json string to convert
  @param clazz The Class to convert to
  @param <T> JavaDoc wants this, just ignore it
  
  @return The converted class or null if conversion fails