struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Pimm <m...@alwayssunny.com>
Subject S2 - Deserializing with the JSON plugin
Date Wed, 27 Jun 2007 13:10:49 GMT
I'm using the JSON plugin in one of my actions with the documentation 
that i've found here 
(http://cwiki.apache.org/S2PLUGINS/json-plugin.html). My case is a 
little different as i am not using SMD. I receive calls to the action 
with parameters passed via the query string. Most of these parameters do 
not need to be deserialized but one of them does.

I've seen how to specify a root for serialization of the response

<result type="json">
  <param name="root">
    person.job
  </param>
</result>

But is there anyway to apply the same thing to deserialization in the request?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message