From: Gurpal 2000 Date: 2008-09-07T09:52:26+09:00 Subject: json for extjs (without rails) Hi I trying to generate some simple json for extjs use *without rails*. Now say if i have a array of MyObject. Do i have to define my own to_json? Is there a library that would say convert an array of objects to json WITH the param names? class car # registration # make # color end so the json should say something like { registration: "blah", make: "sdsdd", color: "oikooi" } and if it's an array the json should look like something i can feed into an EXTJS grid. Thanks -- Posted via http://www.ruby-forum.com/.