Re: gson module problem

2010-07-07 Thread Ahmed Shoeib
i need to convert JSON to/From Java Object how to do it ? i don't know how to use this way On Jul 6, 10:35 pm, eggsy84 jimbob...@hotmail.com wrote: Hi all, With the latest versions of GWT you don't have to use any other libraries. GWT now comes with something known as Javascript Overlays

Re: gson module problem

2010-07-07 Thread Marcus Vinícius Bastos de Andrade
Use JSON in GWT ? It looks like PHP programming! On Wed, Jul 7, 2010 at 1:41 PM, Ahmed Shoeib ahmedelsayed.sho...@gmail.comwrote: i need to convert JSON to/From Java Object how to do it ? i don't know how to use this way On Jul 6, 10:35 pm, eggsy84 jimbob...@hotmail.com wrote: Hi all,

Re: gson module problem

2010-07-07 Thread lineman78
The easiest way to convert between JSON and GWT objects is to use overlay objects. Unfortunately, there is no type checking by doing this, but you get the best performance. Now, if you need to support older versions of IE you will need to include json2.js in your project, but you can use the

Re: gson module problem

2010-07-07 Thread Ahmed Shoeib
i face this problem Initializing AppEngine server 07/07/2010 10:57:34 م com.google.apphosting.utils.jetty.JettyLogger info INFO: Logging to JettyLogger(null) via com.google.apphosting.utils.jetty.JettyLogger 07/07/2010 10:57:35 م com.google.apphosting.utils.config.AppEngineWebXmlReader

Re: gson module problem

2010-07-07 Thread Ahmed Shoeib
The Problem line java.lang.UnsatisfiedLinkError: com.apphuset.eventbuddy.server.MembersServiceImpl.asArrayOfMember_JSON(Ljava/ lang/String;)Lcom/google/gwt/core/client/JsArray; at com.apphuset.eventbuddy.server.MembersServiceImpl.asArrayOfMember_JSON(Native Method) at

Re: gson module problem

2010-07-07 Thread lineman78
Looks like you are using client side code on the server. You need to make sure you have a clear understanding of how you are handling communications. It looks to me that you have JSNI is a server class. Remember, anything that has a nitave method cannot be loaded by the server unless that native

Re: gson module problem

2010-07-06 Thread Harald Pehl
You cannot use gson in GWT. See http://groups.google.com/group/google-gson/browse_thread/thread/6c3d6476113282e/d09bb094eca25a97 for more infos. If you need a JSON parser for GWT take a look at Piriti (http:// code.google.com/p/piriti/). - Harald On 6 Jul., 12:30, Ahmed Shoeib

Re: gson module problem

2010-07-06 Thread eggsy84
Hi all, With the latest versions of GWT you don't have to use any other libraries. GWT now comes with something known as Javascript Overlays that you can utilise to convert JSON into Objects. See here: http://code.google.com/webtoolkit/doc/latest/DevGuideCodingBasicsOverlay.html Also I have