Namespace

YAML

YAML

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 6499

The Yaml
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 6474

null if the yaml could not be parsed
any | null