I've found a solution: it's possible to convert Object to String on the client: --- JsonpRequestBuilder jrb; // = ... jrb.requestObject(url, new AsyncCallback<JavaScriptObject>(){ public void onSuccess(String result) { JSONObject jsObj = new JSONObject(result); AutoBean<datatype> bean = AutoBeanCodex.decode(factory, DataType.class, jsObj.toString()); DataType data = bean.as(); //.... } public void onFailure(Throwable caught) { } }); ----- But I don't know about performance: parsing this object 2 times on the client may be slow. May be there are some better solutions?
-- 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.