struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Rest + JSON
Date Wed, 26 Feb 2014 07:21:19 GMT
2014-02-25 19:08 GMT+01:00 Felipe Lorenz <felipe.lorenz@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-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message