You have different options for loading / parsing JSON data: 

   1. Receive it as a string from the server as a result of a RCP / REST 
   call. Therefore Pirit was originally intended.
   2. Load it from an external file. I'm using this option in my unit tests. 
   See 
   
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideClientBundle.html#TextResource
 for 
   more details.

In any case the JsonReader interface needs the JSON data as string or as 
JSONObject. See 
http://piriti.googlecode.com/svn/site/apidocs/name/pehl/piriti/json/client/JsonReader.html
. 

BTW Piriti has its own group: https://groups.google.com/forum/#!forum/piriti. 
You can also ask questions there.

- Harald

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