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

Allow merging of nested JSON structures in multiple config files #19

Open
brodo opened this issue Jan 16, 2023 · 0 comments
Open

Allow merging of nested JSON structures in multiple config files #19

brodo opened this issue Jan 16, 2023 · 0 comments

Comments

@brodo
Copy link
Owner

brodo commented Jan 16, 2023

It there are two config files f1.json and f2.json which look like this:

f1.json:

{
  "nested": {
    "a": true,
    "b": "test"
  }
}

f2.json:

{
  "nested": {
    "b": "test2"
    "c": 123
  }
}

And json_env is called like this: json_env -c f1.json -c f2.json ....

The resulting merged file should look like this:

{
  "nested": {
    "a": true
    "b": "test2"
    "c": 123
  }
}
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

1 participant