::Load($filecontent)];
}
elsif ($intype eq "json") {
require JSON;
$data = JSON::decode_json($filecontent);
}
elsif ($intype eq "xml")
list);
}
elsif ($outtype eq "json")
{
eval "use JSON -convert_blessed_universally";
my $json = JSON->new->allow_nonref->pretty->allow_blessed->c
ument
(which defaults to 'yaml') and returns the resulting data structure. Other
data types are: 'json', 'xml', 'ini', 'cfggeneral', 'dumper' and 'tap'.
The optional third argument specifies a list o