Spring Batch: How to setup a FlatFileItemReader to read a json file?

前端 未结 3 1966
走了就别回头了
走了就别回头了 2020-12-20 03:42

My approach so far:

@Bean
FlatFileItemReader flatFileItemReader() {
    FlatFileItemReader reader = new FlatFileItemReader<>();         


        
3条回答
  •  生来不讨喜
    2020-12-20 04:27

    I have build a small demo for Json. If you need any more than it, let me know I can build another example for you

    https://github.com/bigzidane/spring-batch-jsonListItem-reader

提交回复
热议问题