Description
Parses YAML with safer defaults than unrestricted object loading. It is useful for applications that need configuration files, imports, or structured data without allowing arbitrary Ruby objects.
YAML remains complex input. Limit file size, define allowed classes carefully, and validate loaded data before applying configuration or permissions.