[jQuery] Re: .GetJSON, retrieve a list of key/value from JSON object?

2007-12-19 Thread Mathieu Dumais-Savard
- Mathieu On Dec 19, 11:31 am, "Scott Trudeau" <[EMAIL PROTECTED]> wrote: > for(key in myJSONobject) { > var value = myJSONobject[key]; > > } > > should get you started ... > > On Dec 19, 2007 11:00 AM, Mathieu Dumais-Savard <[EMAIL PROTECTED]> wro

[jQuery] .GetJSON, retrieve a list of key/value from JSON object?

2007-12-19 Thread Mathieu Dumais-Savard
Hi, I have no problem using jSON so far except that I am looking for a way to "browse" the items sent from the server to the client in such fashion: foreach key (keys myJSONobject) { var value = (myJSONobject[keys]) ; } Any hint? Thanks!