GWT and javascript variables

Hi Experts,

I'm using GWT's RequestBuilder to get back some JSON from the server.  I'm trying to give back the text response to javascript instead of parsing this in GWT to speed things up.  I'm thinking the best / easiest way would be to dynamically inject a javascript variable into whatever my current scope is, but I don't know how to do that. That way, I could use this variable as a temporary variable that I can plop my GWT overlay onto...  Is this the right way to think about this?  Any suggestions?  Also, more importantly, how do I inject this javascript variable into current scope if possible?

Thanks!
Mike
LVL 1
threadyAsked:
Who is Participating?
 
threadyConnect With a Mentor Author Commented:
The call I needed was JsonUtils.unsafeEval(response.getText()).
0
 
threadyAuthor Commented:
Awesome answer (I write good answers to my stupid questions)...
0
All Courses

From novice to tech pro — start learning today.