Passing stream output JSON to another program #609
Answered
by
ktr0731
indeed-a-genius
asked this question in
Q&A
-
Hello, I'm using evans cli on Linux to receive periodical multi-line JSONs from a gRPC server. Can evans itself redirect its output to another program? |
Beta Was this translation helpful? Give feedback.
Answered by
ktr0731
Nov 17, 2022
Replies: 1 comment 1 reply
-
I don't know about your program, but how about using evans ... | jq -c . | ./your-program |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
indeed-a-genius
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.