Convert TOML to PLIST
Turn TOML 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 TOML files on the dialor turn it to pick what to do
A property list with the same structure.Your TOML becomes an XML property list with keys in the same order.
What you get
One XML PLIST file with the same structure as the TOML. Keys keep their order, and tables stay nested as they were.
Text, integers, reals and booleans keep their types. A string stays a string, and a number stays a number.
What changes
Property lists have no null, so a null in an object is dropped with a warning. A null inside a list fails the conversion, because the list cannot hold it.
Dates and times become ISO 8601 text. They stay text and are not written as a date type.
Comments are dropped.
When it stops
If the TOML cannot be parsed, the conversion stops with
input_corrupted. The file has to be valid TOML before anything is written.To go the other way, use PLIST to TOML.
TOML and PLIST.What each format is.
The formats
TOML
TOML configuration files, the format of Cargo and pyproject.
- Extensions
- .toml
- MIME type
- application
/toml - Kind
- Text and data
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 TOML to PLIST conversion through the API, for your app or your agent.
$ cv convert report.toml report.plist$ cv convert report.toml report.plistQuestions.What people ask about TOML to PLIST.
Yes. The PLIST has the same structure and key order as the TOML.
They become ISO 8601 text. They stay text in the PLIST.
No. Comments are dropped.
The TOML file could not be parsed. The conversion stops with input_corrupted in that case.