Data::Serializer::JSON::MaybeXS - Serialize data using JSON::MaybeXS.
my $serializer = Data::Serializer->new( serializer => 'JSON::MaybeXS', ); my $json = $serializer->serialize( { foo=>'bar' } ); my $data = $serializer->deserialize( $json );
This Data::Serializer driver uses JSON::MaybeXS to serialize and deserialize data.
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, }, );
Please submit bugs and feature requests to the Data-Serializer-JSON-MaybeXS GitHub issue tracker:
https://github.com/bluefeet/Data-Serializer-JSON-MaybeXS/issues
Aran Clary Deltac <bluefeet@gmail.com>
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.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Data::Serializer::JSON::MaybeXS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Serializer::JSON::MaybeXS
CPAN shell
perl -MCPAN -e shell install Data::Serializer::JSON::MaybeXS
For more information on module installation, please visit the detailed CPAN module installation guide.