struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amol Ghotankar <ghotankaru...@gmail.com>
Subject Re: JSON + REST
Date Fri, 21 Aug 2015 13:40:27 GMT
I was looking for exactly same thing.

Anyone knows how we can reduce the json result coming from Rest plugin with
combination of conventions & JSON plugin?

I understand one answer is create model per action but looks like its a
little too big ask from design perspective.



On Mon, Aug 12, 2013 at 5:05 PM, Felipe Lorenz <
felipe.lorenz@idealogic.com.br> wrote:

> Hi,
>
> I'm working on a project using conventions with rest plugin and I am
> looking for a way to restrict the output of the json results. Since the
> Actions class has many attributes, like lists, and so on, would be good if
> I could restrict the output.
>
> I know that json plugin can do it for me using the param "includeParams",
> but the rest plugins already has json result, so I dont want to add another
> plugin.
>
> Is there a way to limit the json output just using rest plugin with
> annotations?
>
> Thanks,
>
> Felipe Lorenz
>
>


-- 



*With Best Regards,*

Amol Ghotankar
Technical Lead
M: +91 9960 980 419 <http://www.cursivetech.com>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message