Example usage for org.springframework.data.repository.init Jackson2ResourceReader Jackson2ResourceReader

List of usage examples for org.springframework.data.repository.init Jackson2ResourceReader Jackson2ResourceReader

Introduction

In this page you can find the example usage for org.springframework.data.repository.init Jackson2ResourceReader Jackson2ResourceReader.

Prototype

public Jackson2ResourceReader(@Nullable ObjectMapper mapper) 

Source Link

Document

Creates a new Jackson2ResourceReader using the given ObjectMapper .

Usage

From source file:org.springframework.data.repository.init.Jackson2RepositoryPopulatorFactoryBean.java

@Override
protected ResourceReader getResourceReader() {
    return new Jackson2ResourceReader(mapper);
}