Convert PLIST to CBOR

Turn PLIST files into CBOR. The same structure and key order in CBOR, with integers, floats, booleans, null, text, arrays and maps keeping their types and dates as text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A property list as compact binary.The structure and key order carry over to CBOR, and values keep their types.

  1. What you get

    One CBOR file with the same structure and the same key order as the property list. Maps stay maps and arrays stay arrays.

    Integers, floats, booleans, null and text keep their types, so a number in the PLIST is still a number in the CBOR file.

  2. What changes

    Dates become ISO 8601 text, because the dates are written as text in the CBOR file. Data values become base64 text.

    If your app reads dates or data from the result, decode these text values yourself.

  3. Going back

    To turn a CBOR file into a property list, use CBOR to PLIST.

PLIST and CBOR.What each format is.

The formats

From · PLIST

Property List

Apple property lists, XML or binary, that hold app settings and metadata.

Extensions
.plist
MIME type
application/x-plist
Kind
Text and data
To · CBOR

CBOR

Concise Binary Object Representation, the binary JSON of IoT and web standards.

Extensions
.cbor
MIME type
application/cbor
Kind
Text and data

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

terminal
$ cv convert report.plist report.cbor
$ cv convert report.plist report.cbor

Questions.What people ask about PLIST to CBOR.

01OF 04

Yes. The CBOR file has the same key order as the property list.

The format is described as Apple property lists, XML or binary. The conversion reads the PLIST file and writes one CBOR file.

Dates become ISO 8601 text. They are not stored as a date type in the CBOR file.

Data becomes base64 text. Decode the text if you need the original bytes.

More conversions.Other ways in and out of PLIST and CBOR.