Data-Serializer-JSON-MaybeXS

Serialize data using JSON::MaybeXS.


Keywords
cpan, perl5
License
Artistic-1.0-Perl

Documentation

NAME

Data::Serializer::JSON::MaybeXS - Serialize data using JSON::MaybeXS.

SYNOPSIS

my $serializer = Data::Serializer->new(
    serializer => 'JSON::MaybeXS',
);

my $json = $serializer->serialize( { foo=>'bar' } );
my $data = $serializer->deserialize( $json );

DESCRIPTION

This Data::Serializer driver uses JSON::MaybeXS to serialize and deserialize data.

OPTIONS

You may pass an options hash ref to Data::Serializer and those options will be used when instantiating the JSON::MaybeXS object:

my $serializer = Data::Serializer->new(
    serializer => 'JSON::MaybeXS',
    options => {
        utf8         => 1,
        allow_nonref => 1,
    },
);

SUPPORT

Please submit bugs and feature requests to the Data-Serializer-JSON-MaybeXS GitHub issue tracker:

https://github.com/bluefeet/Data-Serializer-JSON-MaybeXS/issues

ACKNOWLEDGEMENTS

Thanks to ZipRecruiter for encouraging their employees to contribute back to the open source ecosystem. Without their dedication to quality software development this distribution would not exist.

AUTHORS

Aran Clary Deltac <bluefeetE<64>gmail.com>

LICENSE

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