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

Set value to parsed JSON fragment from another file #26

Open
ilog2000 opened this issue Oct 21, 2021 · 0 comments
Open

Set value to parsed JSON fragment from another file #26

ilog2000 opened this issue Oct 21, 2021 · 0 comments

Comments

@ilog2000
Copy link

Is it possible to extend functionality with setting value from another JSON file (parsed of course)?

I tried on Windows something like this

jj -i fragment.json -o temp.json -u
set /p fragment=<temp.json
jj -i source.json -v %fragment% Address

but it inserts a string value instead of JSON object. I believe on Linux I could use $1 to pipe argument, unfortunately, Widows pipes are very limited.

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