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

configurable json type #213

Open
mathisloge opened this issue Aug 18, 2021 · 0 comments
Open

configurable json type #213

mathisloge opened this issue Aug 18, 2021 · 0 comments

Comments

@mathisloge
Copy link

Hey,

I'm currently working on a project which depends on the ordering of insertion. nlohmann::json sorts the keys alphabetical.
With nlohmann::ordered_json this behavior could be changed. However inja defines a strong binding to nlohmann::json.

I would like to be able to inject a config file which sets the json type. All files then need to use this type.
but i would dislike to maintain a fork in order to have this behaviour.

If you are open to such a change, I'm happy to provide a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants