yaml module
Core framework Console Desktop
The yaml module provides YAML data format reading/writing capabilities
| Property | Description | Access | Type |
|---|---|---|---|
| yaml.null | Represents a YAML null value | readonly | string |
| Functions | Description | Return value |
|---|---|---|
| yaml.decode() | Parse a YAML string | any (nil, string) |
| yaml.encode() | Convert a Lua table to YAML string representation | string |
| yaml.load() | Load and decode YAML data from a file | any (nil, string) |
| yaml.save() | Encode and save a lua table in YAML format to a file | boolean, string nil |