Пример #1
0
    def convert(cls, objectData):
        '''Convert the given object into a plist.

        * objectData -- The data for this object

        '''
        string = StringIO(objectData)

        plist = CFPropertyList(string)
        plist.load()

        return native_types(plist.value)
Пример #2
0
    def convert(cls, objectData):
        '''Convert the given object into a plist.

        * objectData -- The data for this object

        '''
        string = StringIO(objectData)

        plist = CFPropertyList(string)
        plist.load()

        return native_types(plist.value)