rfm@gnu.org)Date: Generated at 2025-02-11 22:18:53 +0100
Copyright: (C) 2004-2020 Free Software Foundation, Inc.
- Declared in:
 - Foundation/NSPropertyList.h
 
The NSPropertyListSerialization class provides facilities for serialising and deserializing property list data in a number of formats. A property list is roughly an NSArray or NSDictionary object, with these or NSNumber , NSData , NSString , or NSDate objects as members. (See below.)
You do not work with instances of this class, instead you use a small number of class methods to serialize and deserialize property lists.
          
                      
 A property list may only
                      be one of the following classes -
                      
          
       ( "one", "two", "three" )
     
              
          In XML format, an array is an element whose name is
          array and whose content is the array
          content.
       <array><string>one</string><string>two</string><string>three</string></array>
     
              
        
            
       < 54637374 696D67 >
     
              
          Base64 can be used since Base 1.24.9:
       <[VGNzdGltZw==]>
     
              
          In XML format, a data object is an element whose name is
          data and whose content is a stream of
          base64 encoded bytes.
        
            
       <*D2002-03-22 11:30:00 +0100>
     
              
          In XML format, a date object is an element whose name is
          date and whose content is a date in the
          format YYYY-MM-DDTHH:MM:SSZ (or the above dfate
          format).
       <date>2002-03-22T11:30:00Z</date>
     
              
        
            
       {
         "key1" = "value1";
       }
     
              
          In XML format, a dictionary is an element whose name is
          dict and whose content consists of pairs
          of string key and other
          property list objects.
       <dict>
         <key>key1</key>
         <string>value1</string>
       </dict>
     
              
        
            <*BY> for
                YES or <*BN> for
                NO. <true /> or
                <false />
              
                <*INNN> where NNN
                is an integer. <integer>NNN<integer>
              
                <*RNNN> where NNN is a
                real number. <real>NNN<real>
              
                
       "hello world & others"
     
              
          In XML format, the string is simply stored in UTF8 format
          as the content of a string element, and the
          only character escapes required are those used by XML
          such as the '<' markup representing a '<'
          character.
       <string>hello world & others</string>"
     
              
        
            
nil is returned on success).
          
        nil if
            the data does not contain a property list
            serialised in a supported format). nil or an error message
            will be returned in anErrorString.