IPC-Manager
view release on metacpan or search on metacpan
lib/IPC/Manager/Serializer/JSON/Zstd.pm view on Meta::CPAN
Construct a configured serializer instance. Recognized arguments:
=over 4
=item level => $integer
Zstd compression level. Defaults to C<3> (Compress::Zstd's library default).
=item dictionary => $path
Path to a zstd preset dictionary file. Both endpoints must have access to a
dictionary at the same path with the same content. When set, the constructor
loads the file once and reuses it for every C<serialize>/C<deserialize> call.
=back
=item $bytes = $serializer->serialize($obj)
=item $bytes = IPC::Manager::Serializer::JSON::Zstd->serialize($obj)
JSON-encode C<$obj> and zstd-compress the result. The class form uses default
( run in 0.579 second using v1.01-cache-2.11-cpan-524268b4103 )