New in version 3001.
Implements plist serializer.
Wrapper around plistlib.
salt.serializers.plist.
DeserializationError
(message, line_num=None, buf='', marker=' <======================', trace=None)¶Raised when stream of string failed to be deserialized
salt.serializers.plist.
SerializationError
(message='')¶Raised when stream of string failed to be serialized
salt.serializers.plist.
deserialize
(stream_or_string, **options)¶Deserialize any string or stream like object into a Python data structure.
stream_or_string -- stream or string to deserialize.
options -- options given to lower plist module.
Deserialized data structure.
salt.serializers.plist.
serialize
(value, **options)¶Serialize Python data to plist. To create a binary plist pass
fmt: FMT_BINARY
as an option.
obj -- the data structure to serialize
options -- options given to lower plist module.
bytes of serialized plist.