If your server side is going to be implemented on Java, then just use Errai 
JAX-RS (it supports Jackson provider, so can be consumed from any client 
side language).
That way you have your domain classes in shared folder, and they are used 
both server and client side, so you don't have to serialize/deserialize 
them manually.

If you have something different on the server side, then choose from any of 
the following JSON libs: Piriti 
and https://github.com/hpehl/piriti/wiki/Comparison


On Thursday, February 4, 2016 at 2:22:29 PM UTC-8, Matt Campbell wrote:
>
> Hello: 
>
> I want to develop an application that shares code between the browser 
> (via GWT), ANdroid, and iOS (via JJ2ObjC), like Inbox. My application 
> will access JSON-based web APIs, so it needs to be able to parse and 
> serialize JSON. So does anyone know if there's a Java JSON library that 
> works in both GWT and non-GWT environments? I see that GWT has its own 
> JSON package, but that won't work for the other platforms. And a quick 
> look at Gson and Jackson shows that they depend a lot on reflection, 
> which GWT doesn't support. 
>
> Thanks, 
> Matt 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to