jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] _at_Marshaller

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 22 Apr 2011 12:41:45 -0400

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