This serializer serializes your data structure to MessagePack format. It uses Data::MessagePack "pack" and "unpack" functions.
# 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.
Nikhil Mulley <firstname.lastname@example.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.