New NSPropertyListSerialization in 5.4
New NSPropertyListSerialization in 5.4
- Subject: New NSPropertyListSerialization in 5.4
- From: Alexander Spohr <email@hidden>
- Date: Mon, 10 Dec 2007 14:40:26 +0100
Hi List,
can someone confirm that NSPropertyListSerialization changed its
behavior in 5.4?
In 5.3 dictionaryForString(String value) returned every value as String:
<true />
<integer>123</integer>
<date>2007-12-24 18:00:00.00 MET</date>
Since 5.4 it changed behavior to interpret the values as I had
expected it long ago:
<true /> becomes Boolean
<integer>123</integer> becomes BigInteger (why Big?)
<date>2007-12-24 18:00:00.00 MET</date> becomes NSTimestamp
So be aware that this might break your apps if you depend on parsing
values yourself.
I used Boolean.valueOf((String)aPListObject) which breaks with 5.4
(CCE).
atze
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden