for a while i wrote a blog post "How to parse a JSON Object when using multiSearch for jqGrid with Java", I think you can adopt it to your problem.
http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/ http://www.jgeppert.com/2010/06/how-to-parse-a-json-object-when-using-multisearch-for-jqgrid-with-java/ Johannes Harsh C wrote: > > I have been working with the Struts 2 JSON plugin and I have got it set up > so that I can serialize my Java beans as a JSON string and pass it along > to > the browser. > Is the reverse possible using the plugin? That is, if I have a JS widget > (Dojo, in this case) that spits out JSON, can I read in the JSON string > and > "de-serialize" it to a Java bean? > > I would appreciate it if someone could point me to a best-practice for > doing > so. > > -- > *Thanks, > Harsh* > > ----- --- web: http://www.jgeppert.com twitter: http://twitter.com/jogep -- View this message in context: http://old.nabble.com/De-serialize-JSON-to-Action-tp30810552p30810811.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org