Skip to content

preserve insertion order for JSON output#71

Merged
bengl merged 1 commit intomainfrom
bengl/stable-json
May 2, 2025
Merged

preserve insertion order for JSON output#71
bengl merged 1 commit intomainfrom
bengl/stable-json

Conversation

@bengl
Copy link
Copy Markdown
Collaborator

@bengl bengl commented Apr 24, 2025

Consistent ordering preserves readability, especially across multiple runs.

@tlhunter
Copy link
Copy Markdown
Member

Does the output have newlines? Preserved order and newlines are both good if the JSON output gets committed to git.

Copy link
Copy Markdown
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CI fails but that should be resolved with a rebase. Main however also has CI failures.

@bengl
Copy link
Copy Markdown
Collaborator Author

bengl commented Apr 28, 2025

Does the output have newlines? Preserved order and newlines are both good if the JSON output gets committed to git.

@tlhunter yes

@bengl bengl force-pushed the bengl/stable-json branch from 6bf206b to a938b2b Compare April 28, 2025 20:00
@bengl bengl merged commit 5753062 into main May 2, 2025
3 checks passed
@bengl bengl deleted the bengl/stable-json branch May 2, 2025 00:53
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.

3 participants