code: public static <T> T loadAs(String content, Class<T> clazz) {
      return getSnakeYaml().loadAs(new StringReader(content), clazz);
    }
docs: Load an API object from a YAML string representation. Returns a concrete typed object using the
  type specified.
  
  @param content The YAML content
  @param clazz The class of object to return.
  @return An instantiation of the object.
  @throws IOException If an error occurs while reading the YAML.