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
Describe the bug It seems there is a regression on the following issue #389. I originally reported the issue here spring-projects/spring-boot#35651.
To Reproduce
FileWriter writer = new FileWriter("output.json"); Jsonb jsonb = JsonbBuilder.create(); jsonb.toJson(Collections.singletonMap("a", "alpha"), writer); jsonb.toJson(Collections.singletonMap("a", "alpha"), writer);
Expected behavior toJson not closing the writer.
toJson
System information:
Additional context This issue seems to be introduced with version 3.0.3. Version 3.0.2 and below work as expected.
The text was updated successfully, but these errors were encountered:
Seems to be caused by #586, reverting this fixes it for me
Sorry, something went wrong.
#586 is the correct fix according the Jsonb.fromJson() JavaDoc.
Jsonb.fromJson()
stream - The stream is read as a JSON data. Upon a successful completion, the stream will be closed by this method.
No branches or pull requests
Describe the bug
It seems there is a regression on the following issue #389. I originally reported the issue here spring-projects/spring-boot#35651.
To Reproduce
Expected behavior
toJson
not closing the writer.System information:
Additional context
This issue seems to be introduced with version 3.0.3. Version 3.0.2 and below work as expected.
The text was updated successfully, but these errors were encountered: