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

add option to sort maps by key #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

beatt83
Copy link

@beatt83 beatt83 commented Nov 22, 2024

Hi there.

To contribute I added this option that I found to be useful so before encoding the encoder first sorts the keys. I found a similar logic was already being used for Map<CBOREncodable, Any> so I added the option so maps are sorted by key.

So it doesn't cause any breaking change this flag is set to true by default.

so it does not introduce breaking changes this flag is set as default to true

Signed-off-by: Goncalo Frade <[email protected]>
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