A very good question, because there is a doubleValue() but no
intValue() ... Hmm,

On Sep 30, 2:43 pm, "seven.reeds" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using Eclipse 3.4.1, java 1.6.0_07, gwt 1.5.2 under linux.
>
> I have a JSON object that contains an integer value.  I am trying the
> following to get it:
>
> int rowCount =
> index.Info.get("RowCount").isNumber().getValue().intValue();
>
> Eclipse tells me the getValue() for JSONNumber is depreciated
>
> Is there a better way?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to