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?