Documentation TaskDoc JavaDoc Packages
  2. Property lists
  3. Format conversion

Format conversion

Serialized property lists can have different formats. The one that you usually encounter is XML based, while there's also a binary format that is more suitable for machine interpretation.

The saker.plist.convert() task can be used to convert between these formats as you like.

	Format: binary1

The above will simply convert the input Info.plist to binary format and write the result to the build directory. (Note that the binary1 format identifier comes from the format name parameter for the plutil tool)

Other plist manipulation build tasks that have a Format parameter can also be used to modify and convert a property list in a single step.
E.g. when using the saker.plist.insert() task:

	Input: Info.plist,
	Values: # ...
	Format: binary1