The official docs on Jackson views at http://wiki.fasterxml.com/JacksonJsonViews says that you use this kind of line to exclude properties that are not explicitly mapped to a view.
objectMapper.configure(SerializationConfig.Feature.DEFAULT_VIEW_INCLUSION, false);
That is what I want to do — but the line is not compiling for me. Anybody using this config directive?
With the redesigns/refactorings of the 2.0 release, it got moved to MapperFeature.DEFAULT_VIEW_INCLUSION.