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.
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].
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.
Binary and timestamps
Binary values become base64 text. Timestamps become ISO 8601 text in UTC.
Going the other way
To turn INI back into MessagePack, use INI to MSGPACK.
MSGPACK and INI.What each format is.
The formats
MessagePack
Binary JSON: the same values as JSON in a compact byte encoding.
- Extensions
- .msgpack .mpk
- MIME type
- application
/msgpack - Kind
- Text and data
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.
$ cv convert report.msgpack report.ini$ cv convert report.msgpack report.iniQuestions.What people ask about MSGPACK to INI.
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.