claunia / plist-cil

C#/.NET parser for Apple and GnuStep Property List (aka plist), based on Java's dd-plist
Other
54 stars 17 forks source link

Update XML representation of UIDs #65

Closed qmfrederik closed 4 years ago

qmfrederik commented 4 years ago

It turns out that UIDs are represented like this in XML:

<dict>
    <key>CF$UID</key>
    <integer>2</integer>
</dict>

There's not a lot of documentation, but:

This PR allows you to properly serialize property lists which contain UID entries.

Deserializing is not implemented; you'd manually need to detect dictionaries with CF$UID keys and convert them to UIDs.

claunia commented 4 years ago

Can you implement the deserializing before I publish a nuget?