Yaml Encode

Description

Converts Model, Custom Model, Collection, Collection (Custom Model) variable to a yaml encoded string.

Event Options

Variable

The variable you wish to YAML encode

As

The resulting YAML encoded string

Example

Variable

{ "a": "hello", "b": "world" }

After running the event with the above options, the As option will hold the text value

a: hello
b: world

Last updated