Convert MSGPACK to JSONL

Turn MSGPACK files into JSONL. Each entry of a top-level list becomes one line of compact JSON, and any other value becomes a single line, with values and key order kept.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MSGPACK files on the dialor turn it to pick what to do

MessagePack as JSON Lines.Each entry in a top-level list becomes its own line of JSON.

  1. What you get

    One JSONL file. If the MSGPACK file holds a top-level list, each entry becomes one line of compact JSON. Any other value becomes a single line.

    Values and key order are kept.

  2. What changes

    JSON has no binary type, so binary values become base64 text. Timestamps become ISO 8601 text in UTC.

  3. When it stops

    If the file cannot be parsed, the conversion stops with input_corrupted.

    To go the other way, use JSONL to MSGPACK.

MSGPACK and JSONL.What each format is.

The formats

From · MSGPACK

MessagePack

Binary JSON: the same values as JSON in a compact byte encoding.

Extensions
.msgpack .mpk
MIME type
application/msgpack
Kind
Text and data
To · JSONL

JSON Lines

JSON Lines, one JSON object per line, the format of logs and datasets.

Extensions
.jsonl .ndjson
MIME type
application/jsonl
Kind
Text and data

In your code.The same MSGPACK to JSONL conversion through the API, for your app or your agent.

terminal
$ cv convert report.msgpack report.jsonl
$ cv convert report.msgpack report.jsonl

Questions.What people ask about MSGPACK to JSONL.

01OF 04

Each entry of a top-level list becomes one line of compact JSON.

The value becomes a single line in the JSONL file.

Binary values become base64 text. Timestamps become ISO 8601 text in UTC.

The file could not be parsed as MSGPACK, so the conversion stops.

More conversions.Other ways in and out of MSGPACK and JSONL.