Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-18 Thread GereMora
Hey guys, I'm using piriti (http://code.google.com/p/piriti/) for convert POJO to JSON and reverse. Works fine. Thanks for your help. Gere. On Oct 13, 1:09 pm, Sanjiv Jivan sanjiv.ji...@gmail.com wrote: Gere, Can you elaborate what you're trying to do here? What kind of datasource are you

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-13 Thread GereMora
I don't know Request Factory!.. Sounds good. In my case, I need work with Java beans with Smart GWT Dataousources. I'll investigate Request Factory. Thks! Gere. On Oct 12, 7:38 pm, Tomasz Gawel tomaszga...@op.pl wrote: As to JSON: Have you tried Google GSON library

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-13 Thread Sanjiv Jivan
Gere, Can you elaborate what you're trying to do here? What kind of datasource are you using in SmartGWT and where are you trying to convert the beans to JSON? If you're using RestDataSource then you're probably converting your beans to JSON on the server side and for this you can use a library

Convert Java bean Object to JSON in GWT 2.4

2011-10-12 Thread GereMora
Hi Guys!, I'm working in a Project with GWT 2.4 + Smart GWT 2.5. I need convert my Java beans in JSON string. I tried with some library without success (gwtprojsonserializer, gwtjsonizer and the AutoBean framework of GWT). Anyone know of a library that works for this?.. Let me know!. Thanks!.

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-12 Thread Tomasz Gawel
As to JSON: Have you tried Google GSON library ? http://code.google.com/p/google-gson/ And second question: Do you really need JSON? RequestFactory does not suit your case? http://code.google.com/intl/pl/webtoolkit/doc/latest/DevGuideRequestFactory.html -- You received this message because you

Re: Convert Java bean Object to JSON in GWT 2.4

2011-10-12 Thread Gal Dolber
here's another nice project http://code.google.com/p/piriti/ to use on the client side On Wed, Oct 12, 2011 at 7:38 PM, Tomasz Gawel tomaszga...@op.pl wrote: As to JSON: Have you tried Google GSON library ? http://code.google.com/p/google-gson/ And second question: Do you really need JSON?