[issue14455] plistlib unable to read json and binary plist files

Mark Grandi report at bugs.python.org
Tue Jul 3 22:05:16 CEST 2012


Mark Grandi <markgrandi at gmail.com> added the comment:

Hi,

I noticed in the latest message that d9pounces posted that "JSON format does not allow dates and data, so XML is used by default to write files.". Rthe XML version of plists also do not really 'support' those types, and they are converted as follows:

NSData -> Base64 encoded data
NSDate -> ISO 8601 formatted string

(from http://en.wikipedia.org/wiki/Property_list#Mac_OS_X)

So really it should be the same thing when converting to json no?

----------
nosy: +markgrandi

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14455>
_______________________________________


More information about the Python-bugs-list mailing list