Just a thought

In struts2 json plugin we can have control using annotations. May be you
can seek/find the same in rest plugin.


On Wed, Feb 26, 2014 at 12:51 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote:

> 2014-02-25 19:08 GMT+01:00 Felipe Lorenz <felipe.lor...@idealogic.com.br>:
> > Hi,
> >
> > I was not clear with my doubt. I dont´t want to use json-plugin, since
> > rest-plugin already has a json solution.
> >
> > I wanna try to use 100% of rest-plugin json solution and, at same time,
> keep
> > the control over the data is returned.
>
> I think the only option you have is to write your own
> ContentTypeHandler [1] and override built-in JSON handler
>
> [1]
> http://struts.apache.org/release/2.3.x/docs/rest-plugin.html#RESTPlugin-CustomContentTypeHandlers
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to