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

Do not pretty-print JSON #751

Closed
wants to merge 1 commit into from
Closed

Conversation

Shnatsel
Copy link
Contributor

Do not include whitespace in the generated JSON by default. This saves storage and network bandwidth.

Humans that want to inspect it can pipe it to jq, open it in the browser to get a nice UI to explore it, or use one of the many other tools for JSON inspection and manipulation.

Addresses one of the items from #628

Signed-off-by: Sergey "Shnatsel" Davidoff <shnatsel@gmail.com>
@Shnatsel Shnatsel requested a review from a team as a code owner July 17, 2024 05:03
@Shnatsel
Copy link
Contributor Author

Hm, this breaks all the snapshot tests. I guess I'll have to approach it in a different way and make pretty-printing configurable.

@Shnatsel Shnatsel closed this Jul 17, 2024
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