We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jorg Heymans opened SPR-14899 and commented
in application.properties i have spring.jackson.serialization.indent_output=true
i then send a normal pojo object:
emitter.send(SseEmitter.event().data(pojo));
The jackson serializer config indents the output, and the result is sent as one dataline which is invalid:
data:{ "userId" : "myuser", "objectId" : "s1" }
in fact this should be
data: {\n data: "userId" : "myuser",\n data: "objectId" : "s1"\n data: }\n\n
when i remove the indentation on the jackson serializer it's correct:
data: { "userId" : "myuser", "objectId" : "s1" }
Affects: 4.3.3
Issue Links:
Referenced from: commits 5700d65, 2735cba
The text was updated successfully, but these errors were encountered:
Sébastien Deleuze commented
Pull request submitted.
Sorry, something went wrong.
Fixed on master and 4.3.x branches.
sdeleuze
No branches or pull requests
Jorg Heymans opened SPR-14899 and commented
in application.properties i have
spring.jackson.serialization.indent_output=true
i then send a normal pojo object:
The jackson serializer config indents the output, and the result is sent as one dataline which is invalid:
in fact this should be
when i remove the indentation on the jackson serializer it's correct:
Affects: 4.3.3
Issue Links:
Referenced from: commits 5700d65, 2735cba
The text was updated successfully, but these errors were encountered: