Skip to content

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

Open

Description

@slayoo

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/)

Activity

  1. slayoo commented on Jul 12, 2023

    @slayoo
    Author

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

  2. martinRenou commented on Jul 13, 2023

    @martinRenou
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions