Zing::Encoder - Serialization Abstraction
Data Serialization Abstraction
use Zing::Encoder; my $encoder = Zing::Encoder->new; # $encoder->encode({ status => 'okay' });
This package provides a data serialization abstraction for use with Zing::Store stores.
This package uses type constraints from:
Zing::Types
This package implements the following methods:
decode(HashRef $data) : HashRef
The decode method decodes the data provided.
# given: synopsis $encoder->decode({ status => 'okay' });
encode(HashRef $data) : HashRef
The encode method encodes the data provided.
# given: synopsis $encoder->encode({ status => 'okay' });
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Zing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zing
CPAN shell
perl -MCPAN -e shell install Zing
For more information on module installation, please visit the detailed CPAN module installation guide.