krasserm / grails-jaxrs

JAX-RS Plugin for Grails
http://code.google.com/p/grails-jaxrs/
Apache License 2.0
50 stars 48 forks source link

Is it possible to use jackson 2.X with Jersey, and so use @JsonView #58

Closed spirylics closed 8 years ago

spirylics commented 10 years ago

I would like make that :

@GET
@JsonView(Views.Name.class)
List<User> list(@Context UriInfo uriInfo) {
    User.list(uriInfo.getQueryParameters())
}

But @JsonView is not interpreted ; all user fields are returned.

budjb commented 8 years ago

This issue was moved to budjb/grails-jaxrs#19