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

Avoid random ordering of lines in JSON output. #780

Closed
wants to merge 1 commit into from

Conversation

UhhhWaitWhat
Copy link

Pretty much what it says on the tin.

As the lines are stored in a HashMap, calling into_values() gives us a random order of lines.
My solution here is definitely not pretty but was the simplest thing that worked without putting too much thought into the code. I hope thats fine. And thank you for the tool :)

@Wilfred Wilfred closed this in 00f6959 Nov 16, 2024
@Wilfred
Copy link
Owner

Wilfred commented Nov 16, 2024

I went for a different solution, but thanks for the report and PR :)

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