yaml/src/main/java/com/opentext/ia/yaml/core/YamlMap.java
public static YamlMap from(String yaml) {
    assertNotNull(yaml);
    try (InputStream input = streamOf(yaml)) {
      return from(input);
    } catch (IOException e) {
      throw new IllegalArgumentException("Failed to parse YAML string", e);
    }
  }
public static YamlMap from(String yaml) {
    assertNotNull(yaml);
    try (InputStream input = streamOf(yaml)) {
      return from(input);
    } catch (IOException e) {
      throw new IllegalArgumentException("Failed to parse YAML string", e);
    }
  }
public static YamlMap from ( String yaml ) { assertNotNull ( yaml ) ; try ( InputStream input = streamOf ( yaml ) ) { return from ( input ) ; } catch ( IOException e ) { throw new IllegalArgumentException ( "Failed to parse YAML string" , e ) ; } }
Parses the given YAML.
@param yaml The YAML string to parse
@return A <code>YamlMap</code> corresponding to the provided YAML string
Parses the given YAML .