On 1/26/07, Johnny Blonde <[EMAIL PROTECTED]> wrote:
> now i need to do something like this with it:
> var dataArr = items(JSONdata);

You can just do eval(JSONdata). That is the beuty of JSON, it's just a
subset of javascript. See http://www.json.org/

If you use MochiKit's loadJSONDoc this is already done for you, the
callback will be called with the array you want.

I hope I didn't misunderstand your question, my apologies if I did so.

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to