Convert JSONC to PLIST

Turn JSONC files into PLIST. An XML property list with the same structure and key order, where text, integers, reals and booleans keep their types and dates stay text.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

JSONC settings as an XML property list.Structure and key order stay the same. Comments and trailing commas do not.

  1. What you get

    One XML property list with the same structure and key order as the JSONC file. Text, integers, reals and booleans keep their types.

    Dates stay text. The property list holds them as strings, not as date values.

  2. What changes

    Comments are dropped, and so are trailing commas. A property list has no place for either.

    Property lists have no null. A null in an object is dropped with a warning, and the rest of the object is kept. A null inside a list makes the conversion fail.

  3. Going back

    To turn a property list into JSONC, use PLIST to JSONC. Comments dropped here do not come back.

JSONC and PLIST.What each format is.

The formats

From · JSONC

JSON with Comments

JSON that allows comments, as in editor and TypeScript configuration files.

Extensions
.jsonc
MIME type
text/x-jsonc
Kind
Text and data
To · 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

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

terminal
$ cv convert report.jsonc report.plist
$ cv convert report.jsonc report.plist

Questions.What people ask about JSONC to PLIST.

01OF 04

Yes. The output keeps the same structure and key order as the input.

They are dropped. The property list has no comments, so none appear in the output.

A null in an object is dropped with a warning. A null inside a list fails the conversion, because property lists have no null.

No. Dates stay text, so they appear as strings in the property list.

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