3 ms·
Here's a large example with nested arrays and dicts, integers, strings, etc: https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Sample.plist https://g
by tyingq 3y ago
Here's a large example with nested arrays and dicts, integers, strings, etc:
https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/Sample.plist https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/...
- ThePowerOfFuet 3y agoSweet Jesus. I'm filing a human rights complaint at The Hague.
- Spivak 3y agoOh it's not that bad, plus it's just an on-disk serialization format. You use it like you would Python's pickle by dumping/loading from NSDictionary/NSArray. It's ordered, typed, can be validated by schema, and just takes the format you would write naturally and removes the boilerplate because your primitive collections in plist world aren't trees they're dicts and arrays just like in JSON. <dict> <entry> <key>Greeting</key> <value type="string">Hello World</value> </entry> </dict> <dict> <key>Greeting</key> <string>Hello World</string> </dict>
- marcellus23 3y agoIt's not intended to be written by hand. It's also like 30 years old.