Input Msgpack data includes multiple MessagePack-encoded objects
Online Message Pack and JSON conversion tool, supporting the conversion between binary data in Message Pack format and data in JSON text format. Message Pack data supports input formats such as hex, base64, byte arrays, etc.
Online msgpack and JSON data format conversion tool, supporting decoding msgpack data into JSON data. Support encoding JSON data into msgpack data.
- Msgpack : The input msgpack data, this tool supports multiple formats of msgpack binary data.
- JSON : The input JSON text.
-
Msgpack Format : The format of the input msgpack binary data is supported by this tool in
the following formats:
- hex : Input hexadecimal string, for example 83a16281a177a568656c6c6fa163c3a16103 .
- base64 : Input base64 string, for example g6FigaF3pWhlbGxvoWPDoWED .
- Uint8Array : Input a uint8 byte array, with each byte's value ranging from 0 to 255. for example [131,161,98,129,161,119,165,104,101,108,108,111,161,99,195,161,97,3] .
- Int8Array : Input an int8 byte array, with values ranging from -128 - 127 for each byte. for example [-125,-95,98,-127,-95,119,-91,104,101,108,108,111,-95,99,-61,-95,97,3] .
- Multi : Does the input msgpack data contain multiple msgpack encoded objects. If multi is true, the decoded data object will be encapsulated into a JSON array.
- Settings : Click on Settings to display the parameter settings for msgpack encoding and decoding, which are in JSON format.
-
MessagePack Mapping Table:
Source Value MessagePack Format Value Decoded JSON Format null, undefined nil null null boolean (true, false) bool family boolean (true, false) boolean (true, false) number (53-bit int) int family number number number (64-bit float) float family number number string str family string string ArrayBufferView bin family Uint8Array Object Array array family Array Array Object map family Object Object Date timestamp ext family Date string bigint N/A N/A N/A