Bio::Gonzales::Util::Cerial - convenience functions for yaml and json IO
use Bio::Gonzales::Util::Cerial; # YAML IO my $yaml_string = yfreeze(\%data); my $data = ythaw($yaml_string); yspew($filename, \%data); my $data = yslurp($filename); # JSON IO my $json_string = jfreeze(\%data); my $data = jthaw($json_string); jspew($filename, \%data); my $data = jslurp($filename);
Serialize data structure as yaml string
UNserialize data structure from yaml string
Serialize data structure as yaml string to a file
UNserialize data structure from yaml file
Serialize data structure as json string
UNserialize data structure from json string
Serialize data structure as json string to a file
UNserialize data structure from json file
The following functions are exported by default
ythaw yfreeze yslurp yspew jthaw jfreeze jslurp jspew
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Bio::Gonzales, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Gonzales
CPAN shell
perl -MCPAN -e shell install Bio::Gonzales
For more information on module installation, please visit the detailed CPAN module installation guide.