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

JSON pretty: empty containers #5127

Merged
merged 1 commit into from
May 24, 2024
Merged

JSON pretty: empty containers #5127

merged 1 commit into from
May 24, 2024

Conversation

mattnibs
Copy link
Collaborator

For the JSON writer in pretty mode ensure that empty objects and array are printed on the same line.

@mattnibs mattnibs requested a review from a team May 23, 2024 19:10
@mattnibs mattnibs force-pushed the json-pretty-empty branch from cfdc9e2 to 435824f Compare May 23, 2024 22:26
zio/jsonio/writer.go Outdated Show resolved Hide resolved
For the JSON writer in pretty mode ensure that empty objects and array
are printed on the same line.
@mattnibs mattnibs force-pushed the json-pretty-empty branch from 435824f to e57a5f6 Compare May 24, 2024 07:02
@mattnibs mattnibs merged commit b68680e into main May 24, 2024
3 checks passed
@mattnibs mattnibs deleted the json-pretty-empty branch May 24, 2024 07:19
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