NAME
Kernel::System::YAML – YAML wrapper functions
DESCRIPTION
Functions for YAML serialization / deserialization.
new()
create a YAML object. Do not use it directly, instead use:
my $YAMLObject = $Kernel::OM->Get('Kernel::System::YAML');
Dump()
Dump a perl data structure to a YAML string.
my $YAMLString = $YAMLObject->Dump(
Data => $Data,
);
Load()
Load a YAML string to a perl data structure. This string must be a encoded in UTF8.
my $PerlStructureScalar = $YAMLObject->Load(
Data => $YAMLString,
);