The Parse YAML command parses YAML data and stores it in an object variable.
Specify YAML data to be parsed. If you need to parse a yaml file, then specify its name in angle brackets or read it into a variable beforehand. Below are a few options for the definition of this parameter.
1name: Alex 2list: 3 - id: 123 4 value: test 5 - id: 56 6 value: "#value# #mark#"
Specify the name of the variable to which the object with YAML data will be assigned. You can use this variable in commands and functions to work with objects. You can also get field values directly. For example, if you specify the name of the variable yamlobj, you can get field values for the first example as follows:
1#yamlobj.name# => Alex 2#yamlobj.list.value# => test 3#yamlobj.list.id# => 56