Provided by: libcatmandu-perl_1.2020-1_all bug

NAME

       Catmandu::Serializer - A (de)serializer from and to json

SYNOPSIS

           package MyPackage;

           use Moo;

           with 'Catmandu::Serializer';

           # You have now  serialize and deserialize methods available

           package main;

           my $obj = MyPackage->new;
           my $obj = MyPackage->new(serializer => 'json');

           $obj->serialize( { foo => 'bar' } );  # JSON
           $obj->deserialize( "{'foo':'bar'}" );  # Perl

SEE ALSO

       Catmandu::Serializer