Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

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

Closed
budjb opened this issue Mar 31, 2016 · 1 comment
Closed

Comments

@budjb
Copy link
Owner

budjb commented Mar 31, 2016

From @spirylics on September 15, 2014 15:9

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.

Copied from original issue: krasserm#58

@budjb
Copy link
Owner Author

budjb commented Apr 7, 2016

Closing due to the age of the issue.

@budjb budjb closed this as completed Apr 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant