The Google Web Toolkit has a JSON library (com.google.gwt.json.client). The "client" part of this name makes me suspect that it is not intended to be used on the server side. The following code in the server-side RPC method confirms my suspicions:
System.out.println("attempting to make JSONArray"); JSONArray test = new JSONArray(); System.out.println("Made JSONArray");
Throwing a ClassNotFound exception (JSONArray). I need to build a part of the JSON server.
1) Do I correctly believe that I can not use the com.google.gwt.json.client package on the server? 2) If yes, is there a good alternative with about the same interface that I can use to build JSON on the server?
I run my application in App Engine, if that matters.
json gwt
Derek thurn
source share