Encode YAML
This processor will encode an incoming object into a YAML byte array. This processor will return an error if the message being processed is not able to be serialized as YAML.
- type:
yaml.encode
Example
Section titled “Example”- id: encode type: yaml.encode