Ist ein Dateiformat zur Serialisierung assoziativer Arrays.
Einfaches Format
Dieses Format ist darauf ausgelegt, von Menschen lesbar und von Hand veränderbar zu sein. Es wird z.B. verwendet um die Versions-Eigenschaften zu beschreiben.
Syntax
...
Is a data format for the serialization of associative arrays.
Simple Format
This format is designed to be read by humans and to be changed manually. It is used in order to describe the version properties.
Syntax
Data Type | Display |
---|---|
String | "an example string" |
Array | ("a", "b", "c") |
Dictionaries/ |
associative Arrays |
|
...
Example:
Codeblock |
---|
{ "name" = "Hans Dampf"; "anschriftaddress" = { "strassestreet" = "Irrweg 42"; "ortplace" = "Irgendwo"; "plzpostal code" = "77777"; }; "warenkorbshopping cart" = ( "id42", "id4711", "id0815" ); } |
XML
DTD
siehe see: http://www.apple.com/DTDs/PropertyList-1.0.dtd
...
Example
Codeblock |
---|
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>name</key> <string>Hans Dampf</string> <key>anschrift</key> <dict> <key>strasse</key> <string>Irrweg 42</string> <key>ort</key> <string>Irgendwo</string> <key>plz</key> <string>77777</string> </dict> <key>warenkorb</key> <array> <string>id42</string> <string>id4711</string> <string>id0815</string> </array> </dict> </plist> |
...