Skip to main content
Jeremias Meister - Tools & Pipeline

Action Data

YAML Parser

Reads or writes YAML files. In read mode, parses YAML to JSON. In write mode, converts JSON data to YAML format.

Node IDYamlParserAction

Parameters

ParameterTypeRequiredDefaultDescription
Mode mode enum
  • Read
  • Write
Yes Read Whether to read from or write to a YAML file.
File Path filePath file_picker Yes — The path to the YAML file to read from or write to.
Data to Write data textarea No — JSON data to write to the YAML file (only used in Write mode). Can be set by a data connection.
Overwrite Existing overwrite boolean No false If true, overwrites an existing file when writing (only used in Write mode).

Inputs

InputTypeRequiredDescription
Execute input0 object Yes Triggers the YAML operation.

Outputs

OutputTypeIdentifierDescription
Result output0 object yaml_data In Read mode, contains the parsed YAML data as JSON. In Write mode, contains the file path.