Parse YAML¤
Python Plugin
This operator is part of a Python Plugin Package. In order to use it, you need to install it, e.g. with cmemc.
This workflow task is basically a yaml2json command.
Parameter¤
Source / Input Mode¤
- ID:
source_mode
- Datatype:
string
- Default Value:
code
Target / Output Mode¤
- ID:
target_mode
- Datatype:
string
- Default Value:
entities
YAML Source Code (when using the code input)¤
- ID:
source_code
- Datatype:
code-yaml
- Default Value:
# Add your YAML code here (and select 'code' as input mode).
Advanced Parameter¤
YAML File (when using the file input)¤
Which YAML file do you want to load into a JSON dataset? The dropdown shows file resources from the current project.
- ID:
source_file
- Datatype:
string
- Default Value:
None
Target Dataset¤
Where do you want to save the result of the conversion? The dropdown shows JSON datasets from the current project.
- ID:
target_dataset
- Datatype:
string
- Default Value:
None
Input Schema Type / Class¤
In case of source mode ‘entities’, you can specify the requested input type.
- ID:
input_schema_type
- Datatype:
string
- Default Value:
urn:x-eccenca:yaml-document
Input Schema Path / Property¤
In case of source mode ‘entities’, you can specify the requested input path.
- ID:
input_schema_path
- Datatype:
string
- Default Value:
text