kumo.serde.yaml_encode(VALUE)
Since: Version 2024.09.02-c5476b89
The functionality described in this section requires version 2024.09.02-c5476b89 of KumoMTA, or a more recent version.
Attempts to encode VALUE as its YAML equivalent, and returns that value serialized as a string.
This is logically the opposite of kumo.serde.yaml_parse.
See also kumo.serde.yaml_load and kumo.serde.yaml_parse.