mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-07 10:19:51 +00:00
6 lines
123 B
Ruby
6 lines
123 B
Ruby
|
|
require 'msgpack'
|
||
|
|
|
||
|
|
serialized = [1, -1, true, false, nil, {"key" => "value"}].to_msgpack
|
||
|
|
p MessagePack.unpack(serialized)
|
||
|
|
|