Skip to content

Passing stream output JSON to another program #609

Answered by ktr0731
indeed-a-genius asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know about your program, but how about using jq to pass JSON output to your program?
-c option modifies each JSON object on a single line.

evans ... | jq -c . | ./your-program

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@indeed-a-genius
Comment options

Answer selected by indeed-a-genius
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants