Skip to content

How to leverage jq option '--slurpfile variable-name filename' from node-jq #624

Description

@sharangthorat

How do I use jq command line option '--slurpfile variable-name filename' with node-jq?
I have a two files where one file stores some configurations which I want to pass and use them in filter while converting from one json to another. I am looking for storing this configuration in another json and then use that as variable.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions