c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

TO_YAML ​

Converts a value to a YAML document.

The document uses block style with two spaces indentation. If value is a single variable with a yaml tag, the value is placed at the path of the tag.

Parameters and results

  • value any type: the value to convert
  • result result STRING: the YAML document

Example

c0de
CALL c0de/strings/TO_YAML
    PARAMETER value config ;
    RESULT result yaml