Skip to main content

MessagePack Component

Efficiently serialize or deserialize data into a JSON-like format

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
Input
Message
data
/ Required
Notes
Messagepack message to decode

Encode#

Encode an object into MessagePack | key: encodeMessage

InputNotes
Input
Data
data
/ Required
Notes
Data / object to encode