Decode YAML
Convert an incoming byte array or raw string into a YAML object. This processor will return an error if the message being processed is not an array of bytes or a raw string, or if the bytes/string cannot be parsed as YAML.
- type:
yaml.decode
Example
Section titled “Example”- id: decode type: yaml.decode