Raisin::Decoder(3)

NAME
Raisin::Decoder - A helper for Raisin::Middleware::Formatter over decoder modules

VERSION
version 0.94

SYNOPSIS
    my $dec = Raisin::Decoder->new;
    $dec->register(xml => 'Some::XML::Parser');
    $dec->for('json');
    $dec->media_types_map_flat_hash;

DESCRIPTION
Provides an easy interface to use and register decoders.

The interface is identical to Raisin::Encoder.

METHODS

  builtin
Returns a list of encoders which are bundled with Raisin. They are: Raisin::Encoder::JSON, Raisin::Encoder::YAML.

AUTHOR
Artur Khabibullin

COPYRIGHT AND LICENSE
This software is copyright (c) 2019 by Artur Khabibullin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.