Skip to content

Set value to parsed JSON fragment from another file #26

@ilog2000

Description

@ilog2000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions