Raisin::Decoder - A helper for Raisin::Middleware::Formatter over decoder modules.
my $dec = Raisin::Decoder->new; $dec->register(xml => 'Some::XML::Parser'); $dec->for('json'); $dec->media_types_map_flat_hash;
Provides an easy interface to use and register decoders.
The interface is identical to Raisin::Encoder.
Returns a list of encoders which are bundled with Raisin. They are: Raisin::Encoder::JSON, Raisin::Encoder::YAML.
Artur Khabibullin - rtkh <at> cpan.org
This module and all the modules in this package are governed by the same license as Perl itself.
To install Raisin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Raisin
CPAN shell
perl -MCPAN -e shell install Raisin
For more information on module installation, please visit the detailed CPAN module installation guide.