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

support for nlohmann::ordered_json in addition to nlohmann::json #63

Open
slayoo opened this issue May 18, 2023 · 2 comments
Open

support for nlohmann::ordered_json in addition to nlohmann::json #63

slayoo opened this issue May 18, 2023 · 2 comments

Comments

@slayoo
Copy link

slayoo commented May 18, 2023

Adding support for the ordered_json type in addition to currently used json would be beneficial for users intending to preserve order of elements in the JSON structures.

For further discussion, see:
https://github.com/nlohmann/json#order-of-object-keys
nlohmann/json#2179
nlohmann/json#2258

P.S. Thank you for a great piece of software (we use it in https://github.com/open-atmos/PyPartMC/)

@slayoo
Copy link
Author

slayoo commented Jul 12, 2023

@martinRenou @JohanMabille @NoahAmsel @SylvainCorlay ping :)
having ability to use ordered_json would greatly help in our use case
Thanks!

@martinRenou
Copy link
Collaborator

Would you like to try a PR? I'm happy to help reviewing 🙂

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