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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Mode mode | enum | 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
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | Triggers the YAML operation. |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
Result output0 | object | yaml_data | In Read mode, contains the parsed YAML data as JSON. In Write mode, contains the file path. |