Convert YAML to PLIST
Turn YAML 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 YAML files on the dialor turn it to pick what to do
A property list with the same structure.Your YAML becomes an XML property list. Keys keep their order and values keep their types.
What you get
One XML PLIST file with the same structure and key order as the YAML. Text, integers, reals and booleans keep their types.
Several YAML documents in one file become a single list. Aliases are expanded, so each place that used an alias holds its own copy of the value.
What changes
Property lists have no null. A null in an object is dropped, and the conversion gives a warning. A null inside a list makes the conversion fail.
Comments are dropped. A merge key (<<) is kept as an ordinary key instead of being merged.
Dates stay text. Values such as yes, on and 0755 also stay text, so they are not turned into booleans or numbers.
When it stops
The conversion stops with
input_corruptedwhen the YAML file could not be parsed. Fix the YAML syntax, then convert again.To go the other way, use PLIST to YAML.
YAML and PLIST.What each format is.
The formats
YAML
YAML configuration and data files.
- Extensions
- .yaml .yml
- MIME type
- application
/yaml - 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 YAML to PLIST conversion through the API, for your app or your agent.
$ cv convert report.yaml report.plist$ cv convert report.yaml report.plistQuestions.What people ask about YAML to PLIST.
Yes. The property list has the same structure and key order as the YAML.
A null in an object is dropped with a warning. A null inside a list fails, since property lists have no null.
No. Dates stay text.
No. Comments are dropped.