Convert MSGPACK to INI

Turn MSGPACK files into INI. Top-level objects become [sections] and plain top-level values come first, and an object inside a section becomes its own section named with a dot, such as [server.tls].

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 data as INI sections.Objects become sections, and lists become repeated keys.

  1. What you get

    One INI file built from the MessagePack data. Plain top-level values come first. Each top-level object becomes a section, such as [server].

    An object inside a section becomes its own section named with a dot, such as [server.tls].

  2. How lists are written

    A list becomes a repeated key, one line per item. An empty list disappears, because there is no item to write a line for.

    Objects or lists inside a list are written as JSON text on the key's line.

    A top-level list becomes one section per entry, numbered from 0 under items, as in [items.0]. An entry that is not an object goes under the key value.

  3. Binary and timestamps

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

  4. Going the other way

    To turn INI back into MessagePack, use INI to MSGPACK.

MSGPACK and INI.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 · INI

INI

Sections of key and value pairs, the settings format of Windows and many tools.

Extensions
.ini .cfg
MIME type
text/x-ini
Kind
Text and data

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

terminal
$ cv convert report.msgpack report.ini
$ cv convert report.msgpack report.ini

Questions.What people ask about MSGPACK to INI.

01OF 04

Each nested object becomes its own section with a dotted name. An object named tls inside server becomes [server.tls].

It becomes a repeated key, one line per item. An empty list is left out of the file.

Each entry becomes a section numbered from 0, such as [items.0]. An entry that is not an object is stored under the key value.

Binary values are written as base64 text. Timestamps are written as ISO 8601 text in UTC.

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