Format to YAML
Converts a data object or array into a YAML formatted string.
Turns a piece of structured data, such as an object or a list, into a single YAML text string. Use this when a system or file you produce expects YAML, a plain-text format that lays out fields one per line. There is nothing to configure: hand it your data and it returns the YAML text.
Output: