Dancer::Serializer::MessagePack
This serializer serializes your data structure to MessagePack format. It uses Data::MessagePack "pack" and "unpack" functions.
Dancer::Serializer::Abstract
# in your Dancer app: setting serializer => 'MessagePack'; # or in your Dancer config file: serializer: 'MessagePack'
An initializer that is called automatically by Dancer. Runs "loaded".
Lazily loads Data::MessagePack and imports the appropriate functions.
Serializes a given data to MessagePack format
Helper function to create a new Dancer::Serializer::MessagePack object and run "serialize".
Deserializes a given data from MessagePack format.
Helper function to create a new Dancer::Serializer::MessagePack object and run "deserialize".
Returns the content type which is application/x-msgpack.
Data::MessagePack https://github.com/msgpack/msgpack-perl
Nikhil Mulley <mnikhil@cpan.org>
This software is copyright (c) 2013 by Nikhil Mulley. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer::Serializer::MessagePack, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Serializer::MessagePack
CPAN shell
perl -MCPAN -e shell install Dancer::Serializer::MessagePack
For more information on module installation, please visit the detailed CPAN module installation guide.