Re: Struts2 with JSON.

2008-08-05 Thread Musachy Barroso
jsonObject.list["com.beans.ComplaintDO"]["first__name"] Not related to struts in anyway btw. musachy On Tue, Aug 5, 2008 at 5:09 PM, sharath karnati <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm getting below value in req.responseText > > > {"list":{"com.beans.ComplaintDO":{"first__name":"S

Re: Struts2 with JSON.

2008-08-05 Thread sharath karnati
Hi All,     I'm getting below value in req.responseText       {"list":{"com.beans.ComplaintDO":{"first__name":"Sharath","last__name":"Karnati"}}}     which I'm passing for JSON       jsonObject=eval( "("+ req.responseText +")" );     How to read 'first__name' value from jsonObject?   Thanks, Shara