Skip to content
New issue

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

[Java] JsonPrinter produces invalid JSON for empty messages #799

Closed
Audrius-GR opened this issue Jul 2, 2020 · 0 comments
Closed

[Java] JsonPrinter produces invalid JSON for empty messages #799

Audrius-GR opened this issue Jul 2, 2020 · 0 comments

Comments

@Audrius-GR
Copy link

The intent of this line is to remove the ",\n" from the last field, but if there were no fields, it ends up removing the "{\n", producing just "}"

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

No branches or pull requests

2 participants