Skip to content

Conversation

artembilan
Copy link
Member

  • To avoid extra dependency for Jackson when we
    serialize FileSplitter.FileMarker to JSON, use
    a SimpleJsonSerializer instead.
  • Fix SimpleJsonSerializer to escape a \ symbol from property values
    since it is used for quoting string values in the final JSON

@artembilan artembilan added this to the 5.3 RC1 milestone Apr 23, 2020
* To avoid extra dependency for Jackson when we
serialize `FileSplitter.FileMarker` to JSON, use
a `SimpleJsonSerializer` instead.
* Fix `SimpleJsonSerializer` to escape a `\` symbol from property values
since it is used for quoting string values in the final JSON
@artembilan artembilan force-pushed the Simple_JSON_For_FileSplitter branch from 76907f2 to 4c11de9 Compare April 27, 2020 17:39
@artembilan artembilan requested a review from garyrussell April 27, 2020 17:39
@garyrussell garyrussell merged commit cfd03f8 into spring-projects:master Apr 27, 2020
akuma8 pushed a commit to akuma8/spring-integration that referenced this pull request May 9, 2020
* Use a SimpleJsonSerializer in the FileSplitter

* To avoid extra dependency for Jackson when we
serialize `FileSplitter.FileMarker` to JSON, use
a `SimpleJsonSerializer` instead.
* Fix `SimpleJsonSerializer` to escape a `\` symbol from property values
since it is used for quoting string values in the final JSON

* * Document the change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants