msgpack/perl/README
2010-09-06 14:20:54 +09:00

45 lines
1.1 KiB
Plaintext

NAME
Data::MessagePack - MessagePack serialising/deserialising
SYNOPSIS
my $packed = Data::MessagePack->pack($dat);
my $unpacked = Data::MessagePack->unpack($dat);
DESCRIPTION
This module converts Perl data structures to MessagePack and vice versa.
MessagePack is a binary-based efficient object serialization format. It
enables to exchange structured objects between many languages like JSON.
But unlike JSON, it is very fast and small.
METHODS
my $packed = Data::MessagePack->pack($data);
pack the $data to messagepack format string.
my $unpacked = Data::MessagePack->unpack($msgpackstr);
unpack the $msgpackstr to messagepack format string.
Configuration Variables
$Data::MessagePack::PreferInteger
Pack the string as int when the value looks like int(EXPERIMENTAL).
AUTHORS
Tokuhiro Matsuno
Makamaka Hannyaharamitu
THANKS TO
Jun Kuriyama
Dan Kogai
FURUHASHI Sadayuki
LICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
<http://msgpack.org/>