Convert PLIST to PROPERTIES

Turn PLIST files into PROPERTIES. Each value becomes one key=value line with Java escapes, under its path of keys joined with dots and list positions in brackets, such as server.hosts[0], and a top-level list is written under items, such as items[0].name.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Property lists as flat key=value lines.Each value in the PLIST becomes one line in a single PROPERTIES file.

  1. What you get

    One PROPERTIES file with one key=value line for each value. Values are written with Java escapes.

    Each key is the path to the value. The keys along the path are joined with dots, and list positions go in brackets, such as server.hosts[0].

  2. How structure is flattened

    A list at the top level of the PLIST is written under items, such as items[0].name.

    An empty object or an empty list is written as JSON text.

  3. Dates and data

    Dates become ISO 8601 text. Data becomes base64 text. The file holds only text, so the values are written as strings.

    To go the other way, use PROPERTIES to PLIST.

PLIST and PROPERTIES.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 · PROPERTIES

Java Properties

Key and value pairs in the Java properties format.

Extensions
.properties
MIME type
text/x-java-properties
Kind
Text and data

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

terminal
$ cv convert report.plist report.properties
$ cv convert report.plist report.properties

Questions.What people ask about PLIST to PROPERTIES.

01OF 04

Yes. The PLIST format covers both XML and binary property lists.

The keys on the path are joined with dots, and list positions go in brackets. A value inside a list inside a server object can be named server.hosts[0].

It is written under items. The name of the first entry then appears as items[0].name.

They become ISO 8601 text. Data values become base64 text.

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