Skip to main content

MessagePack Component

Efficiently serialize or deserialize data into a JSON-like format using msgpack

Component key: messagepack

Description

MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it's faster and smaller. Small integers are encoded into a single byte, and typical short strings require only one extra byte in addition to the strings themselves. See MessagePack's website for encoding information.

Actions

Decode

Decode a MessagePack message into an object | key: decodeMessage

InputNotes
Message
data
/ Required
message
Messagepack message to decode

Encode

Encode an object into MessagePack | key: encodeMessage

InputNotes
Data
data
/ Required
data
Data / object to encode