Convert CBOR to INI
Turn CBOR 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 CBOR files on the dialor turn it to pick what to do
CBOR data as an INI file.Objects become sections. Lists become repeated keys.
What you get
One INI file. Plain top-level values come first, and each top-level object becomes a [section] after them.
An object inside a section becomes its own section with a dotted name, 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.
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, such as [items.0]. An entry that is not an object goes under the key value.
Binary values and times
INI has no byte type, so byte strings become base64 text. Epoch times become ISO 8601 text.
To go the other way, use INI to CBOR.
CBOR and INI.What each format is.
The formats
CBOR
Concise Binary Object Representation, the binary JSON of IoT and web standards.
- Extensions
- .cbor
- MIME type
- application
/cbor - 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 CBOR to INI conversion through the API, for your app or your agent.
$ cv convert report.cbor report.ini$ cv convert report.cbor report.iniQuestions.What people ask about CBOR to INI.
Each one becomes its own section named with a dot, such as [server.tls].
It disappears from the INI file, since a list is written as one key per item.
They become base64 text. Epoch times become ISO 8601 text.
Yes. Each entry becomes a section numbered from 0, such as [items.0]. An entry that is not an object goes under the key value.