mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 13:02:13 +01: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)
|
||
|
|