Skip to content

Skip JSON serialization for String data in SSE event stream#5125

Closed
lww97 wants to merge 1 commit intoapache:2.9.xfrom
lww97:2.9.x
Closed

Skip JSON serialization for String data in SSE event stream#5125
lww97 wants to merge 1 commit intoapache:2.9.xfrom
lww97:2.9.x

Conversation

@lww97
Copy link
Copy Markdown

@lww97 lww97 commented Apr 16, 2026

When SSE response data is already a String, avoid redundant JSON serialization that would wrap it in extra quotes.

@lww97
Copy link
Copy Markdown
Author

lww97 commented Apr 16, 2026

应用层返回的String时,框架会包裹多出余引号

When SSE response data is already a String, avoid redundant JSON
serialization that would wrap it in extra quotes.
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.

1 participant