From: "ara.t.howard" Date: 2008-09-07T15:35:37+09:00 Subject: Re: json for extjs (without rails) On Sep 6, 2008, at 11:36 PM, Joel VanderWerf wrote: > ara.t.howard wrote: >> # i prefer the pure-ruby version of json > > Why's that? simply because it's easy to drop in a rails project's lib dir and forget about it - also because it's simple to hack if needed. > > >> # even if you defined your own classes i personally prefer to >> translate to >> # 'simple' javascript structures > > Gives up the possibility reverse translation though... but I think I > agree that building everything out of the 4 native types is best. yeah, it's so easy to unpack a simple data structure in js into objects anyhow and, best of all, you can always read simple json. cheers. 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