Hi,

   Try to specify the includeProperties at the
<interceptor-ref name="json" > definition and not at the result type.

BR,
Andras

john.c.cartwri...@noaa.gov wrote:
Hello All,

I'm having trouble getting the json-plugin 0.32 to behave as I'd
expected.  The action is exposing a List of objects annotated as
"@JSON(name="items")" in the action.

I have my result configured as:
<result type="json">
            <param name="excludeNullProperties">true</param>
            <param name="includeProperties">
            items.*\.name
            </param>
         </result>

However the returned JSON has all of the properties for the objects in
the list.  Can someone please help me with what I'm doing wrong?

Thanks!

--john


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



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

Reply via email to