I finally figured this out (a while ago) and thought I would post the
solution in case anybody else has the same problem.  It turns out I
needed to add an inherit line to my <app>.gwt.xml file, as follows:

  <!-- Inherit the JSON parsing stuff.                            -->
  <inherits name='com.google.gwt.json.JSON'/>

By doing that it made the JSONParser and related classes available on
the client side.  I couldn't find that documented anywhere, but
stumbled upon it on my own.

Happy Apping!
Glenn

On Jan 17, 1:03 am, Glenn Simon <glenncochransi...@gmail.com> wrote:
> Thanks for trying to help, guys, but after modifying and checking the
> string with JsonUtils, trying com.google.gwt.json.client.JSONParser
> (tells me the code is unavailable and fails to load my app), and
> reading Google docs 'til my eyes hurt I can't for the life of me
> figure out how to make JSON work in my app.  I know I'm doing
> something wrong but I can't figure out what it is.  I just want a way
> of getting some formatted string data from the server to the client in
> push mode using the Channel.  I can get what looks like a JSON string
> to the client in push mode, but can't find any tools that work to help
> me parse the JSON string once it is at the client.  I'll try switching
> to XML.

-- 
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.

Reply via email to