Polina Shubina
and 2 contributors

NAME

Regru::API::Role::Serializer - something that can (de)serialize

VERSION

version 0.047

SYNOPSIS

    package Regru::API::Client;
    ...
    with 'Regru::API::Role::Serializer';

    $str = $self->serializer->encode({ answer => 42, foo => [qw(bar baz quux)] });

DESCRIPTION

Any class or role that consumes this one will able to (de)serialize JSON.

ATTRIBUTES

serializer

Returns an JSON instance with utf8 option enabled.

SEE ALSO

Regru::API

Regru::API::Role::Client

JSON

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/regru/regru-api-perl/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHORS

  • Polina Shubina <shubina@reg.ru>

  • Anton Gerasimov <a.gerasimov@reg.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by REG.RU LLC.

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