Example usage for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureJacksonObjectMapper

List of usage examples for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureJacksonObjectMapper

Introduction

In this page you can find the example usage for org.springframework.data.rest.webmvc.config RepositoryRestConfigurer configureJacksonObjectMapper.

Prototype

default void configureJacksonObjectMapper(ObjectMapper objectMapper) 

Source Link

Document

Configure the Jackson ObjectMapper directly.

Usage

From source file:org.springframework.data.rest.webmvc.config.RepositoryRestConfigurerDelegate.java

@Override
public void configureJacksonObjectMapper(ObjectMapper objectMapper) {

    for (RepositoryRestConfigurer configurer : delegates) {
        configurer.configureJacksonObjectMapper(objectMapper);
    }/*from  w  w  w . ja va  2 s  .  c  o m*/
}