Skip to main content

Module plist

Module plist 

Source
Expand description

Property list reader (via the plist crate). Read-only.

A plist is read into the same value tree every other format produces, with one rule per plist type:

plistvalue
dictobject
arrayarray
stringstring
integerinteger
realfloat
true / falsebool
dateRFC 3339 string in UTC, e.g. 2026-11-08T03:00:00Z
datastandard base64 string

XML and binary property lists (bplist magic) map identically. A binary one is recognised from its raw bytes by [is_binary] before any UTF-8 decoding, parsed by [load_binary], and carries no source text because the format is read-only.

Functionsยง

load
Parse an XML property list into a Value.