code: @Autowired(required = false)
      public void setObjectMapper(ObjectMapper objectMapper) {
          Assert.notNull(objectMapper, "ObjectMapper must not be null");
          this.objectMapper = objectMapper;
      }
docs: Set the {@code ObjectMapper} for this view. If not set, a default {@link
  ObjectMapper#ObjectMapper() ObjectMapper} is used.
  
  <p>Setting a custom-configured {@code ObjectMapper} is one way to take further control of the
  JSON serialization process. For example, an extended <code>SerializerFactory</code> can be
  configured that provides custom serializers for specific types. The other option for refining
  the serialization process is to use Jackson's provided annotations on the types to be
  serialized, in which case a custom-configured ObjectMapper is unnecessary.