Hi,
is it possible or is it planned to configure the routes with
@JsonView's
or something similar?
There is nothing planned for this at the moment but you are welcome to add
a feature request[1] for it of course.
How can I extend the "JsonResponder" and use it in my
routes?
You either extends the JsonResponder or implement you own Responder with
the functionality that you require, like configuring the ObjectMapper for
your use case. Please refer to the following section of the user guide:
http://aerogear.org/docs/guides/aerogear-controller/mediatypes.html
Regards,
/Dan
[1]
https://issues.jboss.org/browse/AEROGEAR
On 18 April 2013 16:47, tomlux <tom(a)schuller.lu> wrote:
Hy,
is it possible or is it planned to configure the routes with @JsonView's or
something similar?
http://wiki.fasterxml.com/JacksonJsonViews
Currently I'm working with @JsonIgnore, but I have some cases where the
data
should be serialized only for a subset of the different routes.
The best way would be that I could assign for each route a different
@JsonView.
Thanks,
Tom
--
View this message in context:
http://aerogear-dev.1069024.n5.nabble.com/aerogear-controller-support-for...
Sent from the aerogear-dev mailing list archive at
Nabble.com.
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev