support for `nlohmann::ordered_json` in addition to `nlohmann::json`
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 https://github.com/nlohmann/json/issues/2179 https://github.com/nlohmann/json/pull/2258
P.S. Thank you for a great piece of software (we use it in https://github.com/open-atmos/PyPartMC/)
@martinRenou @JohanMabille @NoahAmsel @SylvainCorlay ping :)
having ability to use ordered_json would greatly help in our use case
Thanks!
Would you like to try a PR? I'm happy to help reviewing 🙂