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 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 like XStream or > FlexJSON (http://flexjson.sourceforge.net/). As Gal Dolber mentions, > piriti can be used to convert beans to JSON on the client side but this > might not be what you're looking for. > > Use of RequestFactory is not required or appropriate when working with Smart > GWT datasources. > > Sanjiv > > > > > > > > On Thu, Oct 13, 2011 at 11:40 AM, GereMora <gerem...@gmail.com> wrote: > > 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 ? > >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/DevGuideRequestF... > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-toolkit@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.