<div dir="ltr">Hi, <div><br></div><div>&gt;<span style="font-family:arial,sans-serif;font-size:13px">is it possible or is it planned to configure the routes with @JsonView&#39;s or </span><span style="font-family:arial,sans-serif;font-size:13px">something similar?</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px">There is nothing planned for this at the moment but you are welcome to add a feature request[1] for it of course. </span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">&gt;</span><span style="font-family:arial,sans-serif;font-size:13px">How can I extend the &quot;JsonResponder&quot; and use it in my routes?</span></div>
<div style><font face="arial, sans-serif">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:</font></div>
<div style><font face="arial, sans-serif"><a href="http://aerogear.org/docs/guides/aerogear-controller/mediatypes.html">http://aerogear.org/docs/guides/aerogear-controller/mediatypes.html</a><br></font></div><div style><font face="arial, sans-serif"><br>
</font></div><div style><font face="arial, sans-serif">Regards,</font></div><div style><font face="arial, sans-serif"><br></font></div><div style><font face="arial, sans-serif">/Dan</font></div><div style><font face="arial, sans-serif"><br>
</font></div><div style><font face="arial, sans-serif">[1] <a href="https://issues.jboss.org/browse/AEROGEAR">https://issues.jboss.org/browse/AEROGEAR</a></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 18 April 2013 16:47, tomlux <span dir="ltr">&lt;<a href="mailto:tom@schuller.lu" target="_blank">tom@schuller.lu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hy,<br>
is it possible or is it planned to configure the routes with @JsonView&#39;s or<br>
something similar?<br>
 <a href="http://wiki.fasterxml.com/JacksonJsonViews" target="_blank">http://wiki.fasterxml.com/JacksonJsonViews</a><br>
<br>
Currently I&#39;m working with @JsonIgnore, but I have some cases where the data<br>
should be serialized only for a subset of the different routes.<br>
<br>
The best way would be that I could assign for each route a different<br>
@JsonView.<br>
<br>
Thanks,<br>
 Tom<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-dev.1069024.n5.nabble.com/aerogear-controller-support-for-JsonView-tp2336.html" target="_blank">http://aerogear-dev.1069024.n5.nabble.com/aerogear-controller-support-for-JsonView-tp2336.html</a><br>

Sent from the aerogear-dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</blockquote></div><br></div>