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 DuAEF_DuGR_api.jsxinc, line 6628

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 DuAEF_DuGR_api.jsxinc, line 6603

null if the yaml could not be parsed
any | null