Skip to content

Introduce JsonLineAggregator for FlatFileItemWriter to write JSON Lines format file - #5344

Closed
quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-57
Closed

quaff wants to merge 1 commit into
spring-projects:mainfrom
quaff:patch-57

Conversation

@quaff

@quaff quaff commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

…es format file

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
quaff added a commit to quaff/spring-batch that referenced this pull request Mar 16, 2026
It's related to spring-projects#5344.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
fmbenhassine added a commit that referenced this pull request Oct 15, 2026
Introduce JsonObjectUnmarshaller, the counterpart of JsonObjectMarshaller,
with Jackson and Gson implementations. JsonLineMapper is now generic and
delegates the conversion of a line to a JsonObjectUnmarshaller, which lets
it map lines to any type with any JSON library, like JsonLineAggregator.

The no-arg and JsonMapper constructors of JsonLineMapper are deprecated for
removal in favor of JsonLineMapper(JsonObjectUnmarshaller).

Related to #5344 and #5345.

Co-authored-by: Yanming Zhou <zhouyanming@gmail.com>
fmbenhassine added a commit that referenced this pull request Oct 15, 2026
- Add/Update Javadocs and reference docs
- Add/Update tests
@fmbenhassine

Copy link
Copy Markdown
Contributor

LGTM 👍 Rebased and merged as 0ad859b.

I just added some minor refinements to docs and tests in 0fbab24.

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants