A user just suggested this feature. Allow a @Marshaller and
@Unmarshaller annotation on a POJO that identifies a reader or writer
that should be used:
i.e.
@Unmarshaller(MyPojoReader.class)
public class MyPojo {}
...
@Path
public class MyService {
@GET
MyPojo getPojo() {...}
}
Thought it might be interesting to consider.
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com