From: "ara.t.howard" Date: 2008-09-16T09:32:46+09:00 Subject: Re: json for extjs (without rails) On Sep 14, 2008, at 4:19 AM, Gurpal 2000 wrote: > I have another question. If I do something like this: > > mydata = [ C.new(4, 2).to_json, C.new(1, 3).to_json, C.new(5, > 6).to_json > ] > myhash = { 'data' => mydata } > puts myhash.to_json mydata = [ C.new(4, 2), C.new(1, 3), C.new(5, 6) ] myhash = { 'data' => mydata }.to_json a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama