• ARTICLE
  • STRING
  • CONVERTER
  • ENCRYPT
  • NETWORK
  • MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
  • ARTICLE
    STRING
    CONVERTER
    ENCRYPT
    NETWORK
    MORE
    CHART
    MATH
    COORDINATE
    IMAGE
    FILE
logo Online Tools
0 Comments Favorite Copy Link Share

MessagePack and JSON Converter Online

TAG json

Input Msgpack data includes multiple MessagePack-encoded objects
MessagePack and JSON Converter Online-summary

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.

MessagePack and JSON Converter Online-instructions

Online msgpack and JSON data format conversion tool, supporting decoding msgpack data into JSON data. Support encoding JSON data into msgpack data.

  1. Msgpack : The input msgpack data, this tool supports multiple formats of msgpack binary data.
  2. JSON : The input JSON text.
  3. Msgpack Format : The format of the input msgpack binary data is supported by this tool in the following formats:
    1. hex : Input hexadecimal string, for example 83a16281a177a568656c6c6fa163c3a16103 .
    2. base64 : Input base64 string, for example g6FigaF3pWhlbGxvoWPDoWED .
    3. 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] .
    4. 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] .
  4. 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.
  5. Settings : Click on Settings to display the parameter settings for msgpack encoding and decoding, which are in JSON format.
  6. 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