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

ConfigurableJsonSlurper.parseObject does not preserve order of Map elements #943

Open
mipe opened this issue Nov 24, 2017 · 3 comments
Open

Comments

@mipe
Copy link

mipe commented Nov 24, 2017

Using a LinkedHashMap instead of HashMap should fix this.

@mipe mipe changed the title CustomJsonSlurper.parseObject does not preserve order of Map elements ConfigurableJsonSlurper.parseObject does not preserve order of Map elements Nov 24, 2017
@johanhaleby
Copy link
Collaborator

Thanks! Perhaps you could provide a PR?

@mipe
Copy link
Author

mipe commented Nov 24, 2017

Will do asap

@johanhaleby
Copy link
Collaborator

Awesome!

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

No branches or pull requests

2 participants