You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Apple's implementation, Uid is supported in XML Plists by transforming it into a dictionary with one entry (key CF$UID, value integer). Deserialization transparently turns it back into a UID. rust-plist currently does neither.
For completeness, CF$UID is also used in GNUStep for the two ASCII formats, so the deserialization step can probably just be put in deserialize_any. I haven't checked what happens when you ask plutil to use JSON to represent a UID yet.
The text was updated successfully, but these errors were encountered:
Reading is a bit trickier, as the XML reader will need some sort of lookahead. It would probably be better to implement it as an Event iterator transformer that transforms:
In Apple's implementation, Uid is supported in XML Plists by transforming it into a dictionary with one entry (key
CF$UID
, value integer). Deserialization transparently turns it back into a UID. rust-plist currently does neither.For completeness, CF$UID is also used in GNUStep for the two ASCII formats, so the deserialization step can probably just be put in
deserialize_any
. I haven't checked what happens when you askplutil
to use JSON to represent a UID yet.The text was updated successfully, but these errors were encountered: