struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andras Balogh <and...@reea.net>
Subject Re: [S2] JSON plugin - Cyclic reference detected
Date Tue, 25 Nov 2008 14:54:37 GMT
Musachy Barroso wrote:
> Take a look at the docs: http://cwiki.apache.org/S2PLUGINS/json-plugin.html
>
>   
Hi,

I have checked the docs of course before posting.
Currently my config is like this:
<result type="json">
 <param name="enableSMD">true</param>
  <param name="excludeProperties">
  .*Collection
   </param>
 </result>

But  the JSONWriter still goes and inspects a lot of Objects that I 
don't want, that's why I asked what should
I put in excludeProperties.
I need to add the excludeProperties to both interceptor and result or it 
is enough only for the result config?

Thanks,
Andras.

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


Mime
View raw message