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 using any inspector pair for reading/writing config files #1601

Open
dominiklohmann opened this issue Oct 11, 2023 · 1 comment
Open

Comments

@dominiklohmann
Copy link
Contributor

Currently, the config file format is a custom format that only CAF uses.

I think it'd make a lot of sense to just support arbitrary inspectors for reading the file. For example, with the included JSON inspectors this would make supporting a JSON configuration file trivial. Similarly, users could easily add YAML or TOML inspectors to support other more common config file formats.

@Neverlord
Copy link
Member

I like the idea. Just one remark:

(...) would make supporting a JSON configuration file trivial

The default config reader already accepts JSON. 🙂

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