## YAML

Yaml Parser/Reader

View Source Duik_api_fordoc.jsxinc, line 6527

# Methods

#### # static dump(data, numIdentsopt) → {string}

Dumps some data as a yaml string.

##### Parameters:

Name | Type | Attributes | Default | Description
--- | --- | --- | --- | ---
`data` | `any` |  |  | The data
`numIdents` | `int` | <optional> | 2 | The indentation

View Source Duik_api_fordoc.jsxinc, line 6560

Returns:
The Yaml
Type: `string`

#### # static load(yaml_string) → {any|null}

Parses a string formatted in yaml.

##### Parameters:

Name | Type | Description
--- | --- | ---
`yaml_string` | `string` | The yaml to parse

View Source Duik_api_fordoc.jsxinc, line 6535

Returns:
null if the yaml could not be parsed
Type: `any` | `null`