Well, bad news. I just looked through the three libraries JSON.org offers for Javascript, and it looks like Chris may have been using one that is no longer available (i.e., I can find none that offers a toJSONstring method). Probably the closest is json2.js, which appears to have a stringify method to build a JSON representation of a given object. But since I've never used that library before, I can't really outline all of the ramifications of switching Chris' code to that library. Perhaps it would be a good plan to update this article (it is, after all, 3 years old).
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Aug 30, 2010, at 9:40 AM, AJ wrote: > Jeremy, > > That is the article I am talking about. He walks through the code but > he only does so in snippets. I’m not understanding one part of the > article and I thought it would be best if I could see the entire > source code for the example webpage in order to understand. > > The part I’m not understanding has to do with the JSON functions. So > Chris says that you can find utility functions for encoding and > decoding the search results from JSON.org. I went to the site but I > don’t know which utilities he is using. Also, I don’t know how > exactly he includes the functions in the client side code. > > Any help will be appreciated. > > Thanks, > AJ > > -- > You received this message because you are subscribed to the Google Groups > "Google AJAX APIs" group. > 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-ajax-search-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. 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-ajax-search-api?hl=en.
