You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As this stackoverflow question suggests, JsonView can only be added on methods. So, if one need to use a JsonView globally — for every resource of an application — it has a ton of work to do.
Can we use a global JsonView: objectMapper.setDefaultView(View.Public.class)?
Can we annotate Resource classes with JsonView?
The text was updated successfully, but these errors were encountered:
(note: migrated from https://github.com/FasterXML/jackson-jaxrs-json-provider/issues/15)
As this stackoverflow question suggests, JsonView can only be added on methods. So, if one need to use a JsonView globally — for every resource of an application — it has a ton of work to do.
The text was updated successfully, but these errors were encountered: