msgpack/perl/README

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2010-05-05 15:50:07 +09:00
NAME
2010-09-06 14:19:31 +09:00
Data::MessagePack - MessagePack serialising/deserialising
2010-05-05 15:50:07 +09:00
SYNOPSIS
my $packed = Data::MessagePack->pack($dat);
my $unpacked = Data::MessagePack->unpack($dat);
DESCRIPTION
2010-09-06 14:19:31 +09:00
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.
2010-05-05 15:50:07 +09:00
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
2010-09-06 14:19:31 +09:00
Makamaka Hannyaharamitu
2010-05-05 15:50:07 +09:00
THANKS TO
Jun Kuriyama
2010-09-06 14:19:31 +09:00
Dan Kogai
FURUHASHI Sadayuki
2010-05-05 15:50:07 +09:00
LICENSE
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
2010-09-06 14:19:31 +09:00
<http://msgpack.org/>
2010-05-05 15:50:07 +09:00