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