Re: JSON to Client Side GWT JavaScriptObject

2016-09-22 Thread Velusamy Velu
Thank you very much! I just can't believe I missed that. On Thursday, September 22, 2016 at 11:10:15 AM UTC-4, Jens wrote: > > Missing "return" statement in your JSNI method. Because you returned > nothing, the method returns null automatically. > > Also you can use > > ServerResponseJson resp =

Re: JSON to Client Side GWT JavaScriptObject

2016-09-22 Thread Jens
Missing "return" statement in your JSNI method. Because you returned nothing, the method returns null automatically. Also you can use ServerResponseJson resp = JsonUtils.safeEvel(jsonString); which is safer than using JS eval() directly. -- J. -- You received this message because you are su

JSON to Client Side GWT JavaScriptObject

2016-09-22 Thread Velusamy Velu
I'm looking for help in converting a JSON to an instance of a POJO with embedded objects, on the GWT client side. I'm partially successful but unable to convert every piece of the JSON I have. I have removed all but one working piece of code here to narrow down to the problem area. Specifica