Hi Can anyone help me understand this? I can recreate a properly formatted JSONArray server-side, but I really want to know why Object.toJSON() didnt format it client-side correctly.
On Thu, Apr 29, 2010 at 4:36 PM, chrysanthe m <[email protected]> wrote: > Hi > I have created a hash, added to it with set but when try > Object.toJSON(myHash) it produces one large JSONObject and not the proper > JSONArray format. I would expect [{name00:value00},{name01:value01}...] > What I get is {name00:value00,name01:value00...}. How do/can I get what I > expect? tia. > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.
