( see also http://stackoverflow.com/questions/15230192/specific-messagebodywriter-for-field )
I am trying to serialize a field of a class in a specific manner. Now
MessageBodyWriters work for the class of
the embedded field when only that class is returned but not when it is embedded
in another class.
I was trying to use a @JascksonSerializer like this
@JsonSerialize(using = FooSerializer.class)
public class Foo {
but it looks like RE is not evaluating the @JacksonSerializer annotation and
thus not
using the custom serializer.
Is there a way to tell RE to use this serializer ?
Thanks
Heiko
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles
Cachera
signature.asc
Description: Message signed with OpenPGP using GPGMail
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________ Resteasy-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/resteasy-users
