Re: Using NSDictionary as attribute
Re: Using NSDictionary as attribute
- Subject: Re: Using NSDictionary as attribute
- From: Chuck Hill <email@hidden>
- Date: Fri, 10 Dec 2004 18:29:08 -0800
I think plist de-serialization treats all values (other than array and
dictionary as String. To preserve object type XML seems like your best
choice. Or use cover methods to access the dictionary contents and
converted the values as needed.
At 05:06 PM 10/12/2004 -0500, Jacky Gagnon wrote:
>Hi,
>
>I tried to use an immutable NSDictionnary as attribute. I can write it
>to the database in plist format, but I cannot read it correctly. The
>problem is with Boolean value in NSDictionary; in the conversion from
>plist to NSDictionary, they lost their type and WebObjects created
>String from Boolean value in the plist...
>
>Is this a bug with WebObjects, or I cannot use Boolean in NSDictionary
>as attribute?
>
>Thanks!
>
>Jacky
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
e.net
>
>This email sent to email@hidden
>
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
_______________________________________________
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