Just found how to fix this.
Need to use () with json string.
example:
Json string :
{"id":"1","username":"admin","token":"dq77a4uslui7neqcvidajofrg0"}
must became :
({"id":"1","username":"admin","token":"dq77a4uslui7neqcvidajofrg0"})
Then eval works perfect.
Another question. How could i get JavascriptObject using
JSONParser.parseStrict() method ? Is there any example ?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/_9ftCmcQCcgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.